inac Asked: 2010-07-27 22:05:57 +0800 CST2010-07-27 22:05:57 +0800 CST 2010-07-27 22:05:57 +0800 CST Accessing CentOS User Logs 772 CentOS log that records everything that is done on the server by a certain user? centos log-files 3 Answers Voted tore- 2010-07-27T22:55:50+08:002010-07-27T22:55:50+08: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: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounting.html Vamsi Krishna B 2010-07-31T18:48:39+08:002010-07-31T18:48:39+08:00 cat .bash_history or simply history Kenny Rasschaert 2010-07-27T22:07:46+08:002010-07-27T22:07:46+08:00 You can check the .bash_history file in that user's home directory to see the commands he has performed.
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
cat .bash_history
or simply
history
You can check the .bash_history file in that user's home directory to see the commands he has performed.