Root shell with logging

Krishnaprasad_K at Dell.com Krishnaprasad_K at Dell.com
Thu May 10 07:52:13 UTC 2007


ps ax will show all the processes running in your system. Redirect its
output to a file when a user logs in.

add this command in /etc/profile script 
	ps ax > /tmp/processes.txt 

Regards,
Krishnaprasad


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of chockalingam
Sent: Thursday, May 10, 2007 12:29 PM
To: General Red Hat Linux discussion list
Subject: Re: Root shell with logging

Hi All,

I am looking for the solution of logging all the fg and bg processes
when
some user logs in.
I need this log to be forwarded to a file, for later analysis.

Please help....

Regards,
Chockalingam.S
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list