I'm using Ubuntu and I would like to find and/or print the sudo lecture that is printed to the screen the first time a user executes a sudo command. How can I do this? I'm unable to find the lecture file.
How to find and/or print sudo’s lecture file
sudo
Best Answer
See
man sudoers
So, if you wish to change the text, add it to a file and point to it from
/etc/sudoers
:According to the change log for Ubuntu Qantal,
sudo
is now compiled--without-lecture
.The default text, when compiled in, is: