Solved

How to Identify Unix User who modified a file in Solaris

Posted on 2011-09-19
8
573 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
OfficeMate Freezes on login or does not load after login credentials are input.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now