[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo warning

On Saturday 11 July 2009 3:40:40 pm T o n g wrote:
> How can I disable the sudo warning?

From the sudoers manpage,

lecture     This option controls when a short lecture will be printed along 
with the password prompt.  It has the following possible values:

                   always  Always lecture the user.

                   never   Never lecture the user.

                   once    Only lecture the user the first time they run sudo.

If no value is specified, a value of once is implied.  Negating the option 
results in a value of never being used.

Looks like you have set the lecture option in your sudoers file.


Reply to: