LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-18-2014, 08:52 AM   #1
unnamed1
LQ Newbie
 
Registered: Dec 2014
Posts: 16

Rep: Reputation: Disabled
How can I view logs of opened file ?


Hi,
[LINUX MINT 17.1]
How can I view logs of opened file ?
I want to know the exact time (date and time) every file is opened , and by which user.

I saw an ability of "Privacy" to save 30 days by default but I didn't found any logs about files I opened.


thanks.

Last edited by unnamed1; 12-18-2014 at 09:05 AM.
 
Old 12-18-2014, 04:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
By default Linux distributions do not come with a perfect audit trail configured out of the box. So until you configure one (audit service, LoggedFS, rootsh, etc, etc) there'll be only inode meta data (see 'man stat'), users shell history (if any) or application "recent files" functionality (if any), none of which should be taken as complete or authoritative.
 
Old 12-19-2014, 07:57 AM   #3
unnamed1
LQ Newbie
 
Registered: Dec 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
By default Linux distributions do not come with a perfect audit trail configured out of the box. So until you configure one (audit service, LoggedFS, rootsh, etc, etc) there'll be only inode meta data (see 'man stat'), users shell history (if any) or application "recent files" functionality (if any), none of which should be taken as complete or authoritative.
cool , I found the application "LoggedFS" but now I tried to understand couple things..
where do the logs are going? (where I can find them)?
is it possible that it will go into CSV file?
can I filter to see only "READ" ?
and how can I configure on what places it will monitor? is it possible to monitor "everything" ? all partitions etc?

i just came from windows and I don't know nothing about linux ! so complicated HAHA all these terminal commands !

thanks!!
 
Old 12-19-2014, 02:50 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by unnamed1 View Post
where do the logs are going? (where I can find them)? (..) can I filter to see only "READ" ?
and how can I configure on what places it will monitor? is it possible to monitor "everything" ? all partitions etc?
Please (download the source and) read its documentation.


Quote:
Originally Posted by unnamed1 View Post
is it possible that it will go into CSV file?
There actually is a fork called "loggedfs-csv" ;-p
 
Old 12-20-2014, 10:11 AM   #5
unnamed1
LQ Newbie
 
Registered: Dec 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Please (download the source and) read its documentation.



There actually is a fork called "loggedfs-csv" ;-p

OK thanks I will try to read and understand more about linux.
BTW what is fork? I know what is fork when I eat food , I generaly use a fork XD.

Last edited by unnamed1; 12-20-2014 at 10:13 AM.
 
Old 12-20-2014, 07:23 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
BTW what is fork?

One day I ma gonna Detroit to bigga hotel. I go down to breakfast.
I tella the waitress I wanna two pissis toast. She bring me only one piss.
I tell her I wanna two pisses. She say go to the toilet.
I say you no understand, I wanna two piss onna my plate.
She say you better no piss onna plate, you sonnovabitch.
I don't even know the lady and she calls me a sonnovabitch!

Later I go to eat at the bigga restaurant.
The waitress she bring me a spoon and knife but no fock I tell her I wanna fock.
She tell me everyone wanna fock. I tell her you no understand, I wanna fock onna table.
She say you better no fock onna table, you sonnovabitch.



...and there you have it ;-p
 
Old 12-21-2014, 06:09 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Hmm. Given your other thread I suggest we finish that one before getting into LoggedFS, OK?
 
Old 12-22-2014, 05:00 PM   #8
unnamed1
LQ Newbie
 
Registered: Dec 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Hmm. Given your other thread I suggest we finish that one before getting into LoggedFS, OK?
deal XD. Funny reply over there
 
  


Reply



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
Back up logs file and create a script showing the backed up logs and the running logs Billy_6052 Programming 5 12-13-2014 02:32 AM
apache logs files can't be opened? benrose111488 Linux - Software 14 06-26-2007 12:54 PM
cant view logs RedEyez Mandriva 1 02-24-2007 05:13 PM
system logs: a better view. aquaboot Ubuntu 3 09-10-2005 11:56 AM
how to view logs of boot up? koyi Linux - Newbie 4 08-02-2003 03:32 AM

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

All times are GMT -5. The time now is 03:04 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