[sudo-commits] sudo changeset 14379:225eac96d11f
Todd C. Miller
Todd.Miller at sudo.ws
Sun Dec 11 13:49:30 MST 2022
changeset: 14379:225eac96d11f in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/225eac96d11f
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Sun Dec 11 13:46:00 2022 -0700
Log Message:
Add "list" pseudo-command to allow a user to list another user's
privs. Previously, only root or a user with the ability to run any
command as either root or the target user on the current host could
use the -U option. For "sudo -l [-U otheruser] command", NewArgv[0]
is now set to "list" (just like "sudo -l") and the actual command
to be checked starts with NewArgv[1].
diffstat:
docs/sudoers.man.in | 43 +-
docs/sudoers.mdoc.in | 43 +-
plugins/sudoers/logging.c | 12 +-
plugins/sudoers/match_command.c | 14 +-
plugins/sudoers/parse.c | 58 +-
plugins/sudoers/sudoers.c | 31 +-
plugins/sudoers/sudoers.h | 2 +
plugins/sudoers/toke.c | 5070 +++++++++++++++++++-------------------
plugins/sudoers/toke.l | 8 +
9 files changed, 2720 insertions(+), 2561 deletions(-)
More information about the sudo-commits
mailing list