[ale] Access by host

Brian Pitts brian at polibyte.com
Thu Dec 18 17:17:12 EST 2008


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


More information about the Ale mailing list