Re: How to maintain an audit trail of user command history?

Jeff Kinz <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
On Thu, Jul 10, 2003 at 09:12:00AM -0400, Michael Martinez wrote:
> What I would like to find out, is there a way for the system to maintain
> its own copy of a user's command history, one that is unalterable by the
> user? 


Turn on system accounting, use the "sa -u" command and sort the results
It's not quite as easy as a bash_history file but you get similar
results, plus cpu and memory used info.

"man sa"

-- 
Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  [email protected]
copyright 2003.  Use is restricted. Any use is an 
acceptance of the offer at http://www.kinz.org/policy.html.
Don't forget to change your password often.


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.