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
would allow user test to run both ls as themselves (the invoking user). When sudo -l is invoked by user test this is shown correctly. But when root runs sudo -U test -l, the output implies user test can run ls as root:
# sudo -U test -l
User test may run the following commands on ip-172-31-28-2:
(root) /bin/ls
The text was updated successfully, but these errors were encountered:
An entry like the following:
would allow user
test
to run bothls
as themselves (the invoking user). Whensudo -l
is invoked by usertest
this is shown correctly. But whenroot
runssudo -U test -l
, the output implies usertest
can runls
asroot
:The text was updated successfully, but these errors were encountered: