Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-10-2005, 09:24 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Rep:
|
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
|
|
|
01-10-2005, 09:25 AM
|
#2
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
I thought that only root could chmod and chown.
Hamish
|
|
|
01-10-2005, 09:31 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
Well, but how can I log that root has do a chown or a chmod.
Thanks,
Fernando
|
|
|
01-10-2005, 09:32 AM
|
#4
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
i think it should be in /var/log/messages
try
Code:
grep -Ei chown /var/log/messages
hamish
|
|
|
01-10-2005, 09:41 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
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
|
|
|
01-10-2005, 10:01 AM
|
#6
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
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 06:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|