Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
possible duplicate of Record everything on command line centos /fedora/ ubuntu – Warner Jul 27 '10 at 14:00
Also:… – Warner Jul 27 '10 at 14:00

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:

share|improve this answer

cat .bash_history

or simply


share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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