Re: #include with UID / GID or something

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
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
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.