Re: Root shell with logging

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

 



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
<snip>
Don't think that's quite what he was asking for. ps -fu <username> might be closer. However, he said *root* shell with logging, implying not just any user. My solution to that would be that the folks he's worrying about logging should not log in as root, but rather use sudo, which logs every command they issue.

	mark

--
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