Re: drilling down a parser error in file near line X.

"Todd C. Miller via sudo-users" <[email protected]> Fri, 13 Sep 2024 09:09:52 -0600
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
If "DMSETUP" is defined in multiple sudoers files that is likely
your problem.  The different aliases are global and not local to
the file in which they are defined.  The sudoers policy is evaluated
as a whole, after all include files are loaded.

However, if that is the problem I would expect you to see a message
like:

/etc/sudoers.d/sudoers_BEL: Alias "DMSETUP" already defined

Does "visudo -c" produce any warnings?

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