Solved

How to Identify Unix User who modified a file in Solaris

Posted on 2011-09-19
8
585 Views
Last Modified: 2012-05-12
Hi All,
         Can you please suggest which tool/utility/auditing can assist me to find the Solaris user who modified a particular file.

OS Version :- SUNOS 5.10 Generic_144488-11 sun4us sparc FJSV,GPUZC-M

Thanks in Advance.

Regards
0
Comment
Question by:vasudev_v
8 Comments
 
LVL 7

Expert Comment

by:Hamid Reza Molahadi
ID: 36559036
0
 

Author Comment

by:vasudev_v
ID: 36559064
    Please help.
0
 

Author Comment

by:vasudev_v
ID: 36559084
Hi  rybaa,

         find command will give me the time when the file got modified however i am looking for unix user name who modified this file. There are many users in the servers who could modify the file but i
am looking specific user who modified this file.

Thanks.

Regards
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 18

Expert Comment

by:liddler
ID: 36559094
You will be able to do using Solaris BSM (auditd) - but unless it's already in place it won't be able to tell you about previous actions.
Have a look here: http://www.deer-run.com/~hal/sysadmin/SolarisBSMAuditing.html
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 36559192
0
 
LVL 4

Accepted Solution

by:
Anacreo earned 500 total points
ID: 36713180
You have a lot of users, but do you have a lot of users who login interactively at the same time?

1. Find the date and time that the file was modified.
2. Run the command "last", find the users who were logged in overlapping the date and time of the file modification.
3. You could perhaps get lucky and check the command history files for those said users.
find / -name '*history*' | sed -e 's/.*/"&"/g' | xargs grep -i <filename>
4. Additionally check in the FTP xferlog /var/log/xferlog incase it was modified via FTP.

Let me know if you need more tips along these lines...
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 37175638
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
OfficeMate Freezes on login or does not load after login credentials are input.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question