Re: Error/Warning word in visudo output

Tomas Sykora <[email protected]> Tue, 21 Feb 2017 04:48:32 -0500 (EST)
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
Thanks for quick reply. No, we don't have any customer complaining about this, we haven't shipped this new sudo yet. But still we think this is a regression to worse and it would be nice to have this information in the output message. For example if user ran 'visudo -s -c' (with the older sudo version) with bad cofiguration in sudoers, it gives Error in output, but running 'visudo -c' gives just Warning with the same configutation. Currently visudo gives the same output in both cases. Although 'visudo -c' gives extra message '/etc/sudoers: parsed OK', but I think it's not clear if it's considered as Error or Warning in the strict mode (when user doesn't open visudo but just checks it with 'visudo -s -c').

-- 

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