[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Access by host



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.

Chris