Solved

How to Identify Unix User who modified a file in Solaris

Posted on 2011-09-19
8
615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

726 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