I'm working in solaris server machine. More than 10 people are logged in to the same server machine.It take one hour for finishing the installation. But after the installation is over , some other user is deleting some of the directories and files in my installation folder. Is there any way to know who removed the files? Or atleast I want to know can I see the command history of other users.
|
feedback
|
migrated from stackoverflow.com Feb 25 '10 at 12:09
This question came from our site for professional and enthusiast programmers.
"Occam's razor" - especially if this has happened multiple times - suggests that it's probably not another user at all, but the installation script... | |||
|
feedback
|
|
Solaris has extensive auditing capabilities including tracing file destruction (fd audit_class): http://docs.sun.com/app/docs/doc/816-4557/auditov-1?a=view
Reading this blog page would be a good start: http://www.cuddletech.com/blog/pivot/entry.php?id=647 Of course, if all users share the same account or if your server allows to remotely log in as root, that wouldn't help that much figuring out who is behind these deletions ... | |||
|
feedback
|
|
If your shell is bash look through file ~/.bash_history for commands history | |||||||||
feedback
|