[sudo-workers] Adding a second sysconfdir
Todd C. Miller
Todd.Miller at sudo.ws
Wed Feb 1 14:11:43 MST 2023
Another option would be to make _PATH_SUDOERS, _PATH_SUDO_CONF, and
_PATH_SUDO_LOGSRVD_CONF a colon-separated list of path. For example,
if distconfdir is set this could be "/etc/sudoers:/usr/etc/sudoers".
Then the functions that open the configuration file would simply
choose the first file in the list that exists.
This seems like a more general solution to me.
More information about the sudo-workers