[sudo-users] sudoers question

Martin Schröder ms at artcom-gmbh.de
Mon Dec 13 17:16:08 EST 2004

On 2004-12-13 14:30:17 -0500, Andrew Hall wrote:
> Please forgive if I am wrong, but I thought if I had an alias w/ ! and 
> that alias contained zsh that ALL instances of zsh would be denied.

And how would that keep the users from coyping /bin/zsh too ~/foo
and executing ~/foo?

Disallowing cmds usually does not work; you have to spell out all
the allowed cmds.

Best regards
               Martin Schröder, ms at artcom-gmbh.de
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10

More information about the sudo-users mailing list