LinuxQuestions.org
Register a domain and help support LQ
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 04-02-2010, 07:07 AM   #1
bilalcochin
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Any log file for checking file permission change history in RHEL 5.1?


Hello,

Which log file is used to check file permission changes in RHEL 5.?

Example:-
Redhat server with 20 users all are sudo permissions.
Sometime some users changing the file permission using chmod, chowm etc commands. And delete the content of .bash_history file.
How to check the previous file permissions?

Thanks in advance
 
Old 04-02-2010, 08:04 AM   #2
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
If you are running Audit you may be able to did up the information, otherwise I do not know of anything besides checking the file with stat and seeing who was logged in during the last "change" time (unless the permissions have been changed again since).
 
Old 04-02-2010, 09:18 AM   #3
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 285

Rep: Reputation: 61
Depending on how you configured sudo, you may or may not be be logging all sudo commands. The dafault location for the logfile is /var/log/sudolog.
 
Old 04-02-2010, 09:57 AM   #4
trobbelke
LQ Newbie
 
Registered: Mar 2010
Location: m/v Africa Mercy
Distribution: Red Hat Enterprise Linux 5
Posts: 6

Rep: Reputation: 0
we use a perl script that mails me the complete history of every user every time they logout. That way they can't hide their activities, I can check who did what on all our systems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
RHEL log-in history [security] elninio Red Hat 1 03-12-2008 10:44 PM
change file permission of a mouse device file permanently alexandre_fs Linux - General 5 01-09-2007 06:30 AM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 12:16 PM
Cannot Change File Permission dsuratman Linux - Newbie 12 11-03-2003 01:47 PM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration