From mboxrd@z Thu Jan 1 00:00:00 1970 From: ravikumar.vallabhu@gmail.com (V.Ravikumar) Date: Tue, 17 May 2011 16:01:06 +0530 Subject: how to detect a user who changed a particular file in Linux. In-Reply-To: <20110516141545.GA30802@kroah.com> References: <20110516141545.GA30802@kroah.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, May 16, 2011 at 7:45 PM, Greg KH wrote: > On Mon, May 16, 2011 at 03:02:10PM +0530, V.Ravikumar wrote: > > > > Hi all, > > > > (Note : I'm writing this mail to this kernel group as I did not find any > > suitable mechanism in application level for my below need). > > > > If a file modified by some user then how can we detect that user who > modified > > it. > > > > Linux audit was not suitable for my need. > > Why not? It should have showed you this exactly. > > For my need, I have to asynchronously notify if a given file was modified by some user using some program. As per my understanding for audit , one has to update system specific audit configuration files(say using some auditd related command line tools) with given file and it is not suitable for my requirement. Is there any other ways apart from using SystemTap and auditd command line tools. Thanks for all your suggestions so far. Regards, Ravikumar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110517/8b751173/attachment.html