Re: How to log all commands?
From: Jani Mikkonen (jani_at_mikkonen.org)
Date: 05/31/05
- Previous message: Menno Duursma: "Re: How to log all commands?"
- In reply to: Nekromancer: "How to log all commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 31 May 2005 14:06:35 +0300
Nekromancer wrote:
> How can I log all commands (including parameters) typed at any of the
> virtual terminals in a Linux server? The log must include time/date/user
> as well.
So many replys and none of them point to the process accounting. Linux
kernel has had p.a. since 1.3.* and should cover your ass even when user
finds a way to disable logging of his/her shell.
Check the man pages for accton, accton and ac and lastcomm..
On fedora/redhat these should be in package called psacct.
There's also howto on process accounting on linux howto mirrors..
- Previous message: Menno Duursma: "Re: How to log all commands?"
- In reply to: Nekromancer: "How to log all commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|