[sudo-commits] sudo changeset 15305:c1bac476f593
Todd C. Miller
Todd.Miller at sudo.ws
Fri Jun 7 11:19:40 MDT 2024
changeset: 15305:c1bac476f593 in /raid/repos/sudo
tags: tip
details: https://www.sudo.ws/repos/sudo/rev/c1bac476f593
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri Jun 07 10:54:35 2024 -0600
files: plugins/sudoers/cvtsudoers_json.c plugins/sudoers/regress/cvtsudoers/test41.out.ok plugins/sudoers/regress/cvtsudoers/test41.sh
Log Message:
Treat unresolvable User_Alias/Host_Alias as non-aliases in JSON output.
This matches the behavior of the sudoers parser. There is no way
to tell for sure if an upper case word is an alias or a user or
host name. An unresolvable command alias is never a command since
it doesn't start with a '/'. GitHub issue #381
diffstat:
plugins/sudoers/cvtsudoers_json.c | 83 ++++++++++++-----------
plugins/sudoers/regress/cvtsudoers/test41.out.ok | 27 +++++++
plugins/sudoers/regress/cvtsudoers/test41.sh | 18 +++++
3 files changed, 87 insertions(+), 41 deletions(-)
More information about the sudo-commits
mailing list