[sudo-workers] Feature request

Todd C. Miller Todd.Miller at courtesan.com
Tue Mar 17 14:14:40 EDT 2009


I've been considering some kind of reporting mode for sudo, but
haven't thought too hard about the details.  Starting with sudo
1.7.0 you can query whether what commands a user may run.

For instance, "sudo -U username -l" will do the equivalent of
"sudo -l" for user "username".  You can also list individual
commands, e.g.

    % sudo -l ls
    /bin/ls

and by extension:

    # sudo -l -U username command

 - todd



More information about the sudo-workers mailing list