praka123
left this forum longback
Let Sudo Insult You When You Screw Up:-
I recently found a fun feature available within the sudo program that will insult you when you do the wrong thing such as enter your password incorrectly. I’ll tell you how you can activate the feature for a few laughs and also give a few examples of what insults you might get.
To turn the feature on you’ll need to use the following command:
(always use visudo when you need to edit your sudoers file as it has a self-check system that won’t let you screw it up.)
Find the line that begins with Default and append insults to the end. (Any addition to that line is comma separated.) Your entry will then look like this:
Save the file and you’ll notice the next time you screw up your sudo password you’ll get an insult.
Note: to clear your sudo session and be required to enter the password again try:
A few examples below:
source:
*ubuntu-tutorials.com/2007/02/18/let-sudo-insult-you-when-you-screw-up/
btwn this will work for any "sudo" enabled distros
I recently found a fun feature available within the sudo program that will insult you when you do the wrong thing such as enter your password incorrectly. I’ll tell you how you can activate the feature for a few laughs and also give a few examples of what insults you might get.
To turn the feature on you’ll need to use the following command:
Code:
sudo visudo
Find the line that begins with Default and append insults to the end. (Any addition to that line is comma separated.) Your entry will then look like this:
Code:
Defaults !lecture,tty_tickets,!fqdn,insults
Note: to clear your sudo session and be required to enter the password again try:
Code:
sudo -K
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.
Good luck!I have been called worse.
Listen, burrito brains, I don’t have time to listen to this trash.
source:
*ubuntu-tutorials.com/2007/02/18/let-sudo-insult-you-when-you-screw-up/
btwn this will work for any "sudo" enabled distros