]> granicus.if.org Git - sudo/commitdiff
added support for NOPASSWD and "runas" from garp@opustel.com
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 28 Apr 1996 01:04:50 +0000 (01:04 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 28 Apr 1996 01:04:50 +0000 (01:04 +0000)
/

sample.sudoers

index adedd21b322122c6daad73502e15988639859972..17df3920d9f102a64e1dd7a7a8c5046d3c1ae1ca 100644 (file)
@@ -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