Computing.Net > Forums > Unix > sudo logs - login, logout logs??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sudo logs - login, logout logs??

Reply to Message Icon

Name: Big_Z
Date: August 31, 2004 at 10:24:01 Pacific
OS: AIX 5.1
CPU/Ram: RISC/1GB
Comment:

Hello,

Here is my issue, I need to track the usage of sudo in a log file. I know there is a sudo.log file which gives the time/date/command that was used and who used it.
The problem is, I need to track when that user logged out of a certain ID. Is this possible?

Check out this example:

$> whoami
aixuser1
$> sudo su - root
#> whoami
root
#> exit (need a time stamped log entry here)
$>


Thanx for any help



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: sudo logs - login, logout logs??

Running Crontab at login/logout www.computing.net/answers/unix/running-crontab-at-loginlogout/6916.html

HELP! Time Controlled user login/logout www.computing.net/answers/unix/help-time-controlled-user-loginlogout-/2791.html

Send me the codes 22/02/2002 www.computing.net/answers/unix/send-me-the-codes-22022002/2898.html