Update warnings to match new visudo

This commit is contained in:
Todd C. Miller
2004-10-26 20:09:01 +00:00
parent b7479ce1e2
commit ae0a788d98

View File

@@ -135,26 +135,19 @@ You didn't run B<visudo> as root.
Your userid does not appear in the system passwd file. Your userid does not appear in the system passwd file.
=item Warning: undeclared Alias referenced near ... =item Warning: {User,Runas,Host,Cmnd}_Alias referenced but not defined
Either you are using a {User,Runas,Host,Cmnd}_Alias before Either you are trying to use an undeclare {User,Runas,Host,Cmnd}_Alias
defining it or you have a user or hostname listed that or you have a user or hostname listed that consists solely of
consists solely of uppercase letters, digits, and the uppercase letters, digits, and the underscore ('_') character. In
underscore ('_') character. If the latter, you can ignore the latter case, you can ignore the warnings (B<sudo> will not
the warnings (B<sudo> will not complain). In B<-s> (strict) complain). In B<-s> (strict) mode these are errors, not warnings.
mode these are errors, not warnings.
=item Warning: runas_default set after old value is in use ... =item Warning: unused {User,Runas,Host,Cmnd}_Alias
You have a I<runas_default> Defaults setting listed in the I<sudoers> The specified {User,Runas,Host,Cmnd}_Alias was defined but never
file after its value has already been used. This means that entries used. You may wish to comment out or remove the unused alias. In
prior to the I<runas_default> setting will match based on the default B<-s> (strict) mode this is an error, not a warning.
value of I<runas_default> (C<@runas_default@>) whereas entries
B<after> the I<runas_default> setting will match based on the new
value. This is usually unintentional and in most cases the
<runas_default> setting should be placed before any C<Runas_Alias>
or User specifications. In B<-s> (strict) mode this is an error,
not a warning.
=back =back