Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What audit methods do I have in Linux server? If I want to audit specific user commands? That commands he used and at what time?

user-image
Question added by Sajjad Haider Abbasi , Manager – IP Core Networks , Satcomm (Pvt) Ltd.
Date Posted: 2014/01/19
Anil Mathew Kadakethu
by Anil Mathew Kadakethu , Technical Support Manager , M H Alshaya

last username will show you the login session of the particular user in the machine

vi /home/username/.bash_history will show you the commands which was executed by the particular user.

Hatim Laxmidhar
by Hatim Laxmidhar , Self Employed , The Way It Works

You can use history command. 

For time stamp export HISTTIMEFORMAT variable.

TO know more on this

To audit specific user command ./bash_history may be useful.

To know more please visit: 

http://www.tecmint.com/history-command-examples/

 

More Questions Like This