From 2db41172388862fc4fa7581541ada0a84e443325 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 24 Jul 1996 16:49:18 +0000 Subject: [PATCH] added an example --- sample.sudoers | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sample.sudoers b/sample.sudoers index 56b4152f2..f519860a1 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -80,3 +80,6 @@ jim +biglab=ALL # fred can run /bin/ls as oracle by specifying -u oracle on command line; # he can also run /bin/date as uid -2 without entering a password fred ALL=(oracle) /bin/ls,(#-2) NOPASSWD:/bin/date + +# somedude may su to anyone but root and must give su an argument +somedude ALL=/usr/bin/su ?*, !/usr/bin/su root -- 2.40.0