[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Access by host
- Subject: [ale] Access by host
- From: brian at polibyte.com (Brian Pitts)
- Date: Thu, 18 Dec 2008 17:17:12 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
Christoper Fowler wrote:
> I need to write a program fired off by bash when someone logs
> into a development system. This program will update a file on login
> and logout.
>
> Can anyone tell me if there is a more detailed version of 'whoami' that
> will display the IP address? Another solution would be do execute
> tty and then who and extract info that way.
Could you get information about logins and ip addresses by watching
auth.log?
-Brian