From 1d93314f9a186ede69e9ec0d1ed295651882bac4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 28 Apr 1996 01:04:50 +0000 Subject: [PATCH] added support for NOPASSWD and "runas" from garp@opustel.com / --- sample.sudoers | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sample.sudoers b/sample.sudoers index adedd21b3..17df3920d 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -72,3 +72,9 @@ jim +biglab=ALL # users in the secretaries netgroup need to help manage the printers +secretaries ALL=PRINTING + +# Additional options +# fred can run /bin/ls as oracle by specifying -u oracle on command line +# he can also run command /bin/date as uid -2 without entering passwd + +fred ALL=(oracle) /bin/ls,(#-2) NOPASSWD:/bin/date