LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2009, 09:20 AM   #1
hsatish
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
Unhappy How to create new log file to store details of the accessed files..!


I am a newbie to Linux, and have been trying to figure out how to set a new log file to store the details of user accessing files.

Initially i want log details like file opened time,file closed time and user name who have accessed the file.... for text files in some specific directory.
 
Old 01-21-2009, 05:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, and welcome to LQ!

You'll either need some auditing tool (like LAUS) or write your own
based on the kernel notification framework or a library like dazuko.

This is (because it's quite resource heavy) not ready available and
enabled in Linux by default.


Cheers,
Tink
 
Old 01-21-2009, 10:17 PM   #3
hsatish
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

First of all...Thanks for you are reply

But i am a newbie to Linux.please give me more detailed explanation...
 
Old 01-21-2009, 10:53 PM   #4
hsatish
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I found that Dazuko will solve my ploblem....Your reply help me so much
 
Old 01-22-2009, 12:20 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Glad to have been of assistance. :}



Cheers,
Tink
 
Old 01-22-2009, 12:20 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Glad to have been of assistance. :}



Cheers,
Tink
 
Old 01-22-2009, 12:22 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Glad to have been of assistance. :}



Cheers,
Tink
 
  


Reply

Tags
linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh...log files that store the login attempts Bgrad Linux - Networking 4 03-29-2010 09:40 AM
C compiler cannot create executables See `config.log' for more details mehdiee Linux - Newbie 8 01-01-2009 07:46 AM
Store into a file the list of executable files of a system directory jianelisj Linux - Newbie 3 03-17-2008 12:26 PM
How to deal with huge swp files such as .store.log.2.swp from squid directory? Niceman2005 Linux - General 2 11-01-2005 07:25 AM
recent attack via phpBB, log files deleted? accessed file system outside /home/ enzo250gto Linux - Security 8 12-17-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration