sudoer problems

Heikki Korpela heko at saitti.net
Thu Apr 26 16:02:25 EDT 2001


On Thu, 26 Apr 2001, CSU Internet Inc. wrote:

> Anyway, I wanted to know if there is a way to to
> create a UserAlias so that SUDO accepts the UID as
> that, a UID, and not as a aliasname??

Hmh. The sudoers(5) manual page says:

        User_List ::= User |
                      User ',' User_List

        User ::= '!'* username |
                 '!'* '#'uid |
                 '!'* '%'group |
                 '!'* '+'netgroup |
                 '!'* User_Alias

But

User_Alias TEST   = \#1005
TEST   ALL        = (ALL) ALL

won't work for me (test [that has UID 1005] isn't allowed to run
sudo... visudo won't accept the above line without the backslash.)

Anyone?

<!-- ---------------------- 72 characters -------------------------- -->
                   Heikki Korpela -- heko at saitti.net




More information about the sudo-users mailing list