sudo / alias problem

Todd C. Miller Todd.Miller at courtesan.com
Wed May 24 10:52:38 EDT 2000


You probably want something closer to:
    alias PACKAGE "sudo /mpc2/opt/local/macs_1.2.1/bin/macs_createpkg"
since the shell is what expands aliases, if you say 'sudo PACKAGE'
sudo will look for a command named PACKAGE in the user's PATH and
then check to see if the user is allowed to run it.

 - todd




More information about the sudo-users mailing list