You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the idea was to check whether the user running this is allowed to run the pseudo command list as the target user, but runas_pw should only be set this way when testing for list, not when searching for the actual command.
The text was updated successfully, but these errors were encountered:
This change introduced in sudo 1.9.13 is not actually needed. The
"list" pseudo-command checks are performed via runas_matches_pw()
which does not use runas_pw. GitHub issue #248
This change introduced in sudo 1.9.13 is not actually needed. The
"list" pseudo-command checks are performed via runas_matches_pw()
which does not use runas_pw. GitHub issue #248
--HG--
branch : 1.9
Given this entry:
As root:
sudo -l -U nobody
includes the command in the output, butsudo -l -U nobody /usr/bin/ping
fails.This got broken in 9f695f0 (#134).
I think the idea was to check whether the user running this is allowed to run the pseudo command
list
as the target user, butrunas_pw
should only be set this way when testing forlist
, not when searching for the actual command.The text was updated successfully, but these errors were encountered: