[sudo-users] sudo on AIX 5.2 and mail_always
adam.hanel at gmail.com
Thu Feb 10 15:36:37 EST 2005
I'm running sudo on AIX 5.2.
There's 3 of us admins that will have complete root privilidges but we'd
like to start using sudo to audit the commands that we use. I realize
that this doesn't keep us from doing a "sudo su" but thats besides the
I'd like sudo to email me each time sudo is used by each sysadmin. I've
made mail_always true, but it isn't mailing me when I issue a simple
"sudo cat /etc/security/passwd" as user adam.
Here's my sudoers file, and I have been using visudo to edit it.
# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# See the sudoers man page for the details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
adam ALL=(ALL) ALL
More information about the sudo-users