How to make sudo display funny error messages in Ubuntu Linux
|
|
sudo is probably the most used command in Ubuntu.
In this post, I will show you how to make ‘sudo’ display funny and humorous error messages in Ubuntu Linux.
To do that, you would only need to edit the /etc/sudoers :
sudo nano /etc/sudoers
Then find the line that starts with Defaults env_reset, add insults at the end of the line so it would look like this:
# See the man page for details on how to write a sudoers file
#
Defaults env_reset, insults
Save the file, and you are done! You can test the results by running the sudo command and entering the wrong password.
Screenshot Demo
Tags: bash, cli, command, command-line interface, console, linux, sudo, sudoer, ubuntu
Keep updated with the latest posts, be a part of over 1,000 subscribers! :
Subscribe to your email
You might also want to read...
- Howto create a simple Debian/Ubuntu Repository
- Howto Send and Recieve files over Bluetooth with Ubuntu Linux
- Howto Upgrade Ubuntu Dapper to Edgy Eft
- Subscribed to Linux Hater’s Blog : Funny and hillarious blog
- How to Hide Apache2 and PHP version without using mod_security in Ubuntu Linux
- Quick Way to upgrade to Ubuntu 10.10 Maverick Meerkat
- DIY Cat Feeder – Powered By Ubuntu Linux!



Leave a Comment