
Sore mode in sudo!
- Transfer
Recently, I found a funny thing in the sudo program: the program can ulcerate and pin up if the password is entered incorrectly. I will tell you how to activate this feature and give some examples of what sudo can say.
To enable this mode, use the command:
sudo visudo
(always use visudo to edit the sudoers file).
Find the line starting with Default and add insults at the end (all additions in this line are separated by commas). It will turn out something like this:
Defaults! Lecture, tty_tickets,! Fqdn, insults
Save the file. The next time you enter the password for sudo incorrectly, the program will not miss the opportunity to pin you up.
Note: to clear the sudo session so that the password is required again, use:
sudo -K
A few examples:
Maybe if you used more than just two fingers ...
I have been called worse.
Listen, burrito brains, I don't have time to listen to this trash.
Have fun :)
Translation made for Linux in digg in Russian
To enable this mode, use the command:
sudo visudo
(always use visudo to edit the sudoers file).
Find the line starting with Default and add insults at the end (all additions in this line are separated by commas). It will turn out something like this:
Defaults! Lecture, tty_tickets,! Fqdn, insults
Save the file. The next time you enter the password for sudo incorrectly, the program will not miss the opportunity to pin you up.
Note: to clear the sudo session so that the password is required again, use:
sudo -K
A few examples:
Maybe if you used more than just two fingers ...
I have been called worse.
Listen, burrito brains, I don't have time to listen to this trash.
Have fun :)
Translation made for Linux in digg in Russian