Hi all, How do I keep a log of a user logged in. I mean I want to know what is he doing right now and what commands he has run and also what is he currently running. Is there a way to keep log all these. I want it to be automated if possible.
Thanks, rc
On Tue, Aug 02, 2005 at 11:25:49AM +0530, Richard Chang wrote:
Hi all, How do I keep a log of a user logged in. I mean I want to know what is he doing right now and what commands he has run and also what is he currently running. Is there a way to keep log all these. I want it to be automated if possible.
The last(1) command can help. Also try a restricted shell like rksh.