Hi, What do I have to do to have all the history saved with a timestamp? The 2 problems that I have at the moment are: - I can not see when the user x did a certain command. - If user x has 2 or more sessions, the history isn't saved for most of the sessions (last session saves over the other ones?) Anyone? Andre Guimaraes
Andre, On Tuesday 19 July 2005 02:13, GUIMARAES Andre Assis wrote:
Hi,
What do I have to do to have all the history saved with a timestamp?
The 2 problems that I have at the moment are:
- I can not see when the user x did a certain command. - If user x has 2 or more sessions, the history isn't saved for most of the sessions (last session saves over the other ones?)
Anyone?
Are you trying to use the shell's history mechanism as a means of tracking user activity? That's highly flawed and completely unreliable, with problems going far beyond the the unsynchronized writing of new history file entries upon concurrent termination of several shells. Enable process accounting to get reliable record of every process created and every program executed. To get started, try "man -k accounting"
Andre Guimaraes
Randall Schulz
participants (2)
-
GUIMARAES Andre Assis
-
Randall R Schulz