[sudo-users] #include with UID / GID or something

Todd C. Miller Todd.Miller at sudo.ws
Fri Jul 27 15:47:54 MDT 2018


On Fri, 27 Jul 2018 19:21:08 +0200, =?UTF-8?Q?Michael_Str=c3=b6der?= wrote:

> # sudo -l -U viic
> sudo: ignoring duplicate policy plugin "sudoers_policy" in
> /etc/sudo.conf, line 2
> sudo: fatal error, unable to load plugins
>
> Is there a security reason for this?
> Or is it simply not possible for sudo to manage multiple instances of
> the same plugin?

You cannot have more than one instance of a plugin with the same
symbol_name.  Even if you could, sudo currently only allows a single
policy plugin.

Do you really need to have more than one sudoers policies?  If you
need to have local-only rules, why not just use an include file?

 - todd


More information about the sudo-users mailing list