Categories
Looking glass
Navigate/Search

Adventures in Userland: Sudo Insults

This is the first post in a hopefully long running series about the FlippedWEB team’s adventures with technology, mostly dealing with linux and Open Source.

This isn’t exactly the most groundbreaking bit of hackery ever, but if you happen to be a linux user, it sure can be funny!

To get your computer to insult you with quotes such as “I’ve seen penguins that can type better than that.”, simply open up a terminal and run:

sudo visudo

This will authenticate you as root and open the /etc/sudoers with your favorite command line text editor.
Then add “insults” at the end of the defaults line so it looks like this and save it:

Defaults !lecture,tty_tickets,!fqdn,insults

And there you have it! A computer that insults you when you can’t type a password; just what you need!

Leave a Reply