1832201 Members
2633 Online
110039 Solutions
New Discussion

Usage details

 
SOLVED
Go to solution
Ranjith_5
Honored Contributor

Usage details

Hi experts,

Is there any command or method to find out who all have accessed my files?

Thanks
Syam
7 REPLIES 7
Muthukumar_5
Honored Contributor

Re: Usage details

Auditing the access your files, based on read / write / executiong operation?

We can monitor system calls and routines by converting into TRUSTED system there. We audit with the audit logs there. audisp can be used to monitor system calls more.

HTH.
Easy to suggest when don't know about the problem!
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Usage details

Syam,

Only the users that are currently accessing your files can be found. Use 'fuser '. 'fuser' has to be run as root.

Unless you check every user's shell history (which may not necessarily have all the information and they could be re-cycled), it's not possible to get that information.

If you are really interested, you will need to enable Auditing subsystem on the system and configure it. You can use 'audisp' command to find out all the users and processes that accessed your files. Again, auditing is to be managed as root.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ranjith_5
Honored Contributor

Re: Usage details

Hi Sridhar and Muthu,

Thanks a lot for your quick response.

My system is a trusted one. Now what is the procedure to find out the usage history of files.

Regards,Syam
Muthukumar_5
Honored Contributor

Re: Usage details

Did you enable auditing in your system there?

Go to sam, and enable auditing. Default settings of auditing will be in
/etc/rc.config.d/auditing

You can enable auditing on command line with audmon routine there.

Read audmon, audsys, audisp man pages more.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Usage details

Ranjith_5
Honored Contributor

Re: Usage details

Thanks Muthu ,

Regards
Syam
Ranjith_5
Honored Contributor

Re: Usage details

I am closing the thread ..

Many many Thanks to Sridhar and Muthu.

Regards,
Syam