[sudo-commits] sudo changeset 13658:d9b602626b8c
Todd C. Miller
Todd.Miller at sudo.ws
Sat Nov 20 08:04:56 MST 2021
changeset: 13658:d9b602626b8c in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/d9b602626b8c
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri Nov 19 12:29:21 2021 -0700
Log Message:
cvtsudoers: merge aliases when multiple sudoers files are specified
Duplicate aliases are remove. If there are conflicting alias names,
the conflicts are renamed by appending a numerical suffix.
For example, if there are two SERVERS Host_Aliases, the second one
will be renamed to SERVERS_1.
diffstat:
MANIFEST | 1 +
plugins/sudoers/Makefile.in | 39 ++-
plugins/sudoers/alias.c | 4 +-
plugins/sudoers/cvtsudoers.c | 44 +-
plugins/sudoers/cvtsudoers.h | 3 +
plugins/sudoers/cvtsudoers_merge.c | 534 +++++++++++++++++++++++++++++++++++++
plugins/sudoers/parse.h | 2 +-
7 files changed, 600 insertions(+), 27 deletions(-)
More information about the sudo-commits
mailing list