Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-02-2010, 08:07 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 4

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


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

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, 09:04 AM   #2
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

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, 10:18 AM   #3
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
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, 10:57 AM   #4
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.


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 05:14 PM
RHEL log-in history [security] elninio Red Hat 1 03-12-2008 11:44 PM
change file permission of a mouse device file permanently alexandre_fs Linux - General 5 01-09-2007 07:30 AM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 01:16 PM
Cannot Change File Permission dsuratman Linux - Newbie 12 11-03-2003 02:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

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