LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Log Chmod and Chown (https://www.linuxquestions.org/questions/linux-security-4/log-chmod-and-chown-276054/)

FernandoLozano 01-10-2005 08:24 AM

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

hamish 01-10-2005 08:25 AM

I thought that only root could chmod and chown.

Hamish

FernandoLozano 01-10-2005 08:31 AM

Well, but how can I log that root has do a chown or a chmod.
Thanks,
Fernando

hamish 01-10-2005 08:32 AM

i think it should be in /var/log/messages

try
Code:

grep -Ei chown /var/log/messages
hamish

FernandoLozano 01-10-2005 08:41 AM

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

hamish 01-10-2005 09:01 AM

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


All times are GMT -5. The time now is 02:42 AM.