]> granicus.if.org Git - sudo/commitdiff
verifypw when used in a boolean TRUE context should be "all", not "any".
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 28 Nov 2004 21:05:38 +0000 (21:05 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 28 Nov 2004 21:05:38 +0000 (21:05 +0000)
def_data.c
def_data.in

index 7b1200519b07efb98c30cd32ff1f610e7a4aa342..19d734eee473be04fabbbf5210c2ba7a950e0dc3 100644 (file)
@@ -15,8 +15,8 @@ static struct def_values def_data_listpw[] = {
 
 static struct def_values def_data_verifypw[] = {
     { "never", never },
-    { "any", any },
     { "all", all },
+    { "any", any },
     { "always", always },
     { NULL, 0 },
 };
index 81b616f1e715fca0f145c5ee7ac891922d9f6364..b055febe28747b05114b1907ba77af0ae32c50d3 100644 (file)
@@ -172,7 +172,7 @@ listpw
 verifypw
        T_TUPLE|T_BOOL
        "When to require a password for 'verify' pseudocommand: %s"
-       never any all always
+       never all any always
 noexec
        T_FLAG
        "Preload the dummy exec functions contained in 'noexec_file'"