1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00
wiki.mbirth.de/know-how/software/linux/_posts/2008-09-01-sudo-insults.md

885 B

created layout layout_old redirect_to tags title toc updated
2008-09-01 09:50:13 +0200 redirect default https://blog.mbirth.de/archives/2008/09/01/sudo-insults-on-wrong-password.html
know-how
software
linux
fun
sudo insults on wrong password false 2008-09-01 09:50:13 +0200

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