mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
runas_matches is now set to false if we get a negative match
This commit is contained in:
@@ -259,6 +259,8 @@ opcmnd : cmnd { ; }
|
||||
runasspec : RUNAS runaslist chkcmnd {
|
||||
if ($2 > 0 && $3 == TRUE)
|
||||
runas_matches = TRUE;
|
||||
else
|
||||
runas_matches = FALSE;
|
||||
}
|
||||
|
||||
runaslist : runasuser {
|
||||
|
Reference in New Issue
Block a user