2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 06:45:10 +00:00

sudo -v now groks VALIDATE_OK_NOPASS

This commit is contained in:
Todd C. Miller
1996-07-08 18:16:21 +00:00
parent bae4e50e00
commit 54d39940b3

View File

@@ -152,6 +152,9 @@ int validate(check_cmnd)
while (top) {
if (host_matches == TRUE)
/* user may always do validate or list on allowed hosts */
if (no_passwd == TRUE)
return(VALIDATE_OK_NOPASS);
else
return(VALIDATE_OK);
top--;
}