[sudo-users] Getting sudo to be quiet in a script

Todd C. Miller Todd.Miller at courtesan.com
Sun May 15 21:14:57 EDT 2005


You can use the "lecture" sudoers option to modify this behavior.
E.g. at the top of sudoers.

Defaults	lecture=never

to disable it or:

Defaults	lecture=once

to only get the lecture once.

 - todd



More information about the sudo-users mailing list