[sudo-workers] lecture option

Radovan Sroka rsroka at redhat.com
Wed May 3 08:07:58 MDT 2017

Hi Todd,

There is an issue with lecture option.

When lecture option is set in sudoers like:
"Defaults lecture"
Visudo doesn't ecxept it.

When lecture option is set in ldap like:
"sudoOption: lecture"

I think that It is handled like boolean option and there is message printed
out .

"sudo: sudoRole defaults: no value specified for "lecture""

There is a mention in "man sudoers" that this should work and option
should have default value "once".

Negation of lecture is described there as well.


Radovan Sroka
Associate Software Engineer | Security Technologies | Red hat, Inc.

More information about the sudo-workers mailing list