[sudo-users] Aliases

dprice1 at metlife.com dprice1 at metlife.com
Wed Feb 14 12:19:38 EST 2007

Our environment has grown tremendously and auditing is clamping down.  As
it currently stands all UNIX Admins log in and "su" to root for performing
admin tasks.  The shell history files provide limited logging and auditing.
I would like to set up an alias so that every command entered by the root
user is automatically aliased to  "sudo ..... {the command entered}"
Therefore everything done by the root user is automatically logged in the
sudo log.

I've tried this a few ways and I've gotten inconsistent results.

Has anyone done this successfully?

Thank you!!
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only.  Any unauthorized use, dissemination of the information, or copying of this message is prohibited.  If you are not the intended addressee, please notify the sender immediately and delete this message.

More information about the sudo-users mailing list