Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Sajjad Haider Abbasi , Manager – IP Core Networks , Satcomm (Pvt) Ltd.
Date de publication: 2014/01/19
Anil Mathew Kadakethu
par 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
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?