[sudo-users] error while saving file

Todd C. Miller Todd.Miller at courtesan.com
Mon Oct 19 09:42:14 EDT 2009

In message <4ADC3F15.1000706 at webon.net>
	so spake somo (somo):

> I have a problem of saving visudo file, I got some errors
> visudo: option `lecture' does not take a value on line 58
> visudo: unknown defaults entry `lecture_file' referenced near line 59
> line 58 : Defaults:SLACERS lecture=always
> line 59 : Defaults:SLACERS lecture_file=/etc/mylecturefile
> By the way I have already created mylecturefile
> Linux version 2.6.24 (gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk))
> Sudo version 1.6.7p5

That is because Sudo version 1.6.7p5 doesn't support those options.
You need to be running at leats sudo 1.6.8 to use that feature.

 - todd

More information about the sudo-users mailing list