LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-10-2005, 08:24 AM   #1
FernandoLozano
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Log Chmod and Chown


I need to log when a user do a CHMOD and CHOWN. Is there any way to do this.

Thanks,

Fernando
 
Old 01-10-2005, 08:25 AM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
I thought that only root could chmod and chown.

Hamish
 
Old 01-10-2005, 08:31 AM   #3
FernandoLozano
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Well, but how can I log that root has do a chown or a chmod.
Thanks,
Fernando
 
Old 01-10-2005, 08:32 AM   #4
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
i think it should be in /var/log/messages

try
Code:
 grep -Ei chown /var/log/messages
hamish
 
Old 01-10-2005, 08:41 AM   #5
FernandoLozano
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
There is nothing about chmod in /var/log/messages. I' m working with Red Hat Advanced server and I don 't know if I have to set something about security to receive this messages.

Thanks,

Fernando
 
Old 01-10-2005, 09:01 AM   #6
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
mmm, I can't help you any more I'm afraid.

On my install of Gentoo, all the chown logs go to messages.

have you tried googling?
hamish
 
  


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
chmod/chown and folders :) chibi Linux - Newbie 2 04-28-2005 04:56 PM
Chown & Chmod swatward Linux - Newbie 2 03-01-2005 12:57 PM
chmod ,chown ,chgrp------------ pal Linux - Newbie 1 02-27-2005 02:49 PM
Understanding chmod, chown mikemrh9 Linux - Newbie 4 11-19-2004 03:27 PM
reverse chmod/chown changes demmylls Linux - General 1 02-09-2004 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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