![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CEP: What about the action? | iBot | Complex Event Processing RSS News | 0 | 02-15-2008 07:20 AM |
| Signal Default Action | matrixmadhan | High Level Programming | 7 | 11-29-2007 04:42 PM |
| Tracking user | panknil | UNIX for Advanced & Expert Users | 5 | 06-25-2007 08:40 AM |
| action command | esham | Shell Programming and Scripting | 5 | 07-30-2005 01:04 AM |
| any idea to repeat a action in VI | myelvis | UNIX for Dummies Questions & Answers | 6 | 11-26-2003 02:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
tracking user action
Hi,
we are using solaris8. we have some files disappear. I would like to know how to track who and when the files was remove ??? thanks, |
| Forum Sponsor | ||
|
|
|
|||
|
Hi,
We have an oracle account and share among admin. each of us login as individual name, then su - oracle. Therefore it is hard to know who deleted the files. Where can I set the history file with more detail of ip address login or time of files was removed. thanks, |
|
||||
|
If you are going to set the .profile ownerships to root, then make sure that you make the oracle home directory root owned, or else anyone can do whatever they want to the file.
A better idea would be to have some sort of rootlogger script using the 'script' command or using one of the many commercially available logging software. |
|
|||
|
Sounds like you have a problem with users, and privileged user accounts. ie oracle
You could try one of two or both… methods….you should look into the possibilities to see if they suit your needs first as they are only suggestions. You need to get control over the “su” command. Basically stop users “su”ing to privileged accounts. Modify the /etc/profile (Global system file) to run a script that checks to see if the user requesting to “su” to the privileged account is allowed to… (I have done this and its dead easy….Only hassle is that the /etc/profile is over written every time you upgrade the OS. Hence you need to replace the code. I used a one liner to over come this.) I may still have the scripts handy, I did it about 5 years ago.. at one site and it really did the trick. Install “sudo” and you can start to control who can run what command. And sudo has a log file. Sudo is available on the net, and there’s heaps of info as well. Incorporate the command checking as outlined in the previous replies posted above. |