]> granicus.if.org Git - sudo/commitdiff
Correct description of where Defaults specs should go.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 7 Jun 2004 00:07:35 +0000 (00:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 7 Jun 2004 00:07:35 +0000 (00:07 +0000)
sudoers.pod

index 7884fc70d801e91e9bb7dce5c904177388a37cb7..b455592a1ff803524cf547fc56ab89d0f4d50de8 100644 (file)
@@ -225,8 +225,9 @@ It is not an error to use the C<-=> operator to remove an element
 that does not exist in a list.
 
 Note that since the I<sudoers> file is parsed in order the best place
-to put the Defaults section is after the Host, User, and Cmnd aliases
-but before the user specifications.
+to put the Defaults section is after the C<Host_Alias>, C<User_Alias>,
+and C<Cmnd_Alias> specifications but before any C<Runas_Alias> or user
+specifications.
 
 B<Flags>:
 
@@ -566,6 +567,8 @@ The default value is C<@passprompt@>.
 
 The default user to run commands as if the B<-u> flag is not specified
 on the command line.  This defaults to C<@runas_default@>.
+Note that if I<runas_default> is set it B<must> occur before
+any C<Runas_Alias> specifications.
 
 =item syslog_goodpri