Andrei bio photo

Andrei

Linux engineer, devops enthusiast and sys-admin/developer hybrid

Email LinkedIn Github

Overview

sudo insults

There is a list of insults preinstalled on any linux system. You can get the os to insult you when misstyping the sudo password. In order to enable the feature edit the sudoers file as below

1. sudo visudo

...
Default    insults
...

2. sudo su

Now, open a new terminal window and try “sudo su “, followed by a wrong password. You will see something like this:

[me:/tmp]$ sudo su 
[sudo] password for me: 
You silly, twisted boy you.
[sudo] password for me: 
No soap, honkie-lips.
[sudo] password for me: 
You type like I drive.
sudo: 3 incorrect password attempts

have fun :)