LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   History of Commands Executed by Users (https://www.linuxquestions.org/questions/linux-newbie-8/history-of-commands-executed-by-users-802408/)

ajayan 04-16-2010 09:51 AM

History of Commands Executed by Users
 
Hi all,
i am working with linux security auditing project on my Servers.I want to find out all the commands executed by individual users.i think using last command,find out the login details.But how can find out the commands executed by each users on all logins except "history".?
Thanks
Ajay

omfgitsbk 04-16-2010 10:16 AM

You could look at each of their .bash_history in their home directories.

unSpawn 04-16-2010 11:38 AM

...and note a users shell history may be emptied or edited. Also see 'lastcomm -u $LOGNAME', 'sa -u|grep $LOGNAME'.


All times are GMT -5. The time now is 10:46 AM.