ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Sajjad Haider Abbasi , Manager – IP Core Networks , Satcomm (Pvt) Ltd.
تاريخ النشر: 2014/01/19
Anil Mathew Kadakethu
من قبل 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
من قبل 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/

 

المزيد من الأسئلة المماثلة