From ae0a788d98de95a75f65915038514efd69f4021e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 26 Oct 2004 20:09:01 +0000 Subject: [PATCH] Update warnings to match new visudo --- visudo.pod | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/visudo.pod b/visudo.pod index 743792363..0fc63a8dc 100644 --- a/visudo.pod +++ b/visudo.pod @@ -135,26 +135,19 @@ You didn't run B as root. Your userid does not appear in the system passwd file. -=item Warning: undeclared Alias referenced near ... - -Either you are using a {User,Runas,Host,Cmnd}_Alias before -defining it or you have a user or hostname listed that -consists solely of uppercase letters, digits, and the -underscore ('_') character. If the latter, you can ignore -the warnings (B will not complain). In B<-s> (strict) -mode these are errors, not warnings. - -=item Warning: runas_default set after old value is in use ... - -You have a I Defaults setting listed in the I -file after its value has already been used. This means that entries -prior to the I setting will match based on the default -value of I (C<@runas_default@>) whereas entries -B the I setting will match based on the new -value. This is usually unintentional and in most cases the - setting should be placed before any C -or User specifications. In B<-s> (strict) mode this is an error, -not a warning. +=item Warning: {User,Runas,Host,Cmnd}_Alias referenced but not defined + +Either you are trying to use an undeclare {User,Runas,Host,Cmnd}_Alias +or you have a user or hostname listed that consists solely of +uppercase letters, digits, and the underscore ('_') character. In +the latter case, you can ignore the warnings (B will not +complain). In B<-s> (strict) mode these are errors, not warnings. + +=item Warning: unused {User,Runas,Host,Cmnd}_Alias + +The specified {User,Runas,Host,Cmnd}_Alias was defined but never +used. You may wish to comment out or remove the unused alias. In +B<-s> (strict) mode this is an error, not a warning. =back -- 2.40.0