sudo insults on wrong password

By | 1 Sep 2008

Edit the file /etc/sudoers and find the line:

Defaults        env_reset

Now add ,insults to the end of the line so that it reads like that:

Defaults        env_reset,insults

From now on, sudo will insult anyone who mistypes his password. See for yourself:

[sudo] password for foo:
Hold it up to the light — not a brain in sight!
[sudo] password for foo:
Speak English you fool — there are no subtitles in this scene.
[sudo] password for foo:
I think … err … I think … I think I’ll go home
sudo: 3 incorrect password attempts

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)