Allow sudo to insult you (Ubuntu)

What fun is there when sudo replies your incorrect password attempt with a mere incorrect password – make it insult you. Masochistic people can shout hooray.

Here’s how you do it, you have to edit ‘sudoers’. It uses vi commands which I hate. You’ll be prompted for your password.

sudo visudo

Append “,insults” at the end without the quotes and then save the file.

Defaults	env_reset,insults

Now you can make your terminal window forget your sudo password:

sudo -K

And now type ‘sudo visudo’ or even ‘sudo me a sandwich’ and then input an incorrect password. It will say something like:

  • You can’t get the wood, you know.
  • It’s only your word against mine.
  • My pet ferret can type better than you!
  • Maybe if you used more than just two fingers…
  • Listen, burrito brains, I don’t have time to listen to this trash.

Well, have fun. (Source: Ubuntu Tutorials)

One thought on “Allow sudo to insult you (Ubuntu)”

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>