Re: Root shell with logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 10 May 2007 09:52:13 Krishnaprasad_K@xxxxxxxx wrote:
> 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@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] 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
> --


I just wonder....are the users going to be informed about all this stuff?
I mean, I do know that you have your own reasons to do that, but I guess you 
should warn your users about all the log policy you're going to have in your 
system...

Cheers
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux