Results 1 to 2 of 2
Hi,
How do I configure a linux system to send an email (or just execute a script) as soon as someone does an su?
I know that it logs the ...
- 09-29-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 46
su alert
Hi,
How do I configure a linux system to send an email (or just execute a script) as soon as someone does an su?
I know that it logs the su and I could have logwatch or swatch check for it periodically, but is there a quicker (instant) method?
Thanks.
- 09-29-2005 #2
I'm not sure how to do this, but you could change the root password and keep it to yourself, then any users that you want to have root access, grant them specific permissions using the 'sudo' command. You can limit people to certain commands then, and everything they do is logged.
Linux user #126863 - see http://linuxcounter.net/


Reply With Quote
