As part of using Linux as my daily driver, there are certain things I like having on my Servers that I can now have on the Desktop. i.e. Sudo Insults.
‘Sudo insults’ swaps the ‘incorrect password message’ for a funny one-liner, or better – an insult – when you have incorrectly entered your password using sudo.
To enable insults we need to edit the sudoers file. This should always be done using visudo. To edit the sudoers file enter the following command:
Add the following line under Defaults env_reset
Save your file and exit.
You will now be insulted when you incorrectly enter your password, just as the Unix beards of old intended.