CentOS log that records everything that is done on the server by a certain user?

link|improve this question

31% accept rate
possible duplicate of Record everything on command line centos /fedora/ ubuntu – Warner Jul 27 '10 at 14:00
Also: serverfault.com/questions/128222/… – Warner Jul 27 '10 at 14:00
feedback

3 Answers

To answer your question: No. CentOS doesn't really record everything a user does. You could view their .bash_history file as kenny.r suggests, but they can delete this file if they want.

What you are looking for is process accounting, you can get a quick and simply introduction to it here: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounting.html

link|improve this answer
feedback

cat .bash_history

or simply

history

link|improve this answer
feedback

You can check the .bash_history file in that user's home directory to see the commands he has performed.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.