Re: Adding a second sysconfdir

"Todd C. Miller via sudo-workers" <[email protected]> Wed, 01 Feb 2023 14:11:43 -0700
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
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.

 - todd
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers