Solved

How to Identify Unix User who modified a file in Solaris

Posted on 2011-09-19
8
579 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
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 learn how to clear a vector as well as how to detect empty vectors in C++.

932 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

13 Experts available now in Live!

Get 1:1 Help Now