[sudo-workers] Error/Warning word in visudo output

Todd C. Miller Todd.Miller at courtesan.com
Mon Feb 20 07:18:43 MST 2017

On Mon, 20 Feb 2017 07:06:24 -0500, Tomas Sykora wrote:

> since this commit https://www.sudo.ws/repos/sudo/rev/7deb4e41ca7b, when there
>  is something wrong with sudoers aliases (unused, cycled, referenced but not 
> defined), sudo doesn't print the word informing whether it's an error or just
>  a warning anymore. Why is that? Would it be possible to return to visudo bea
> viour in which it prints this information? Or was there any problem with this
> ? I think it may be a useful information for a user.

The Error/Warning prefix was replaced with the file and line number
where the problem occurred.  I don't think the Error/Warning prefix
is very valuable since visudo will require the file to be re-edited
in strict mode anyway. Has someone actually complained about this?

 - todd

More information about the sudo-workers mailing list