The Nerdy Sixty | (08/60) Insulting Superuser | Solution

Configure sudo to insult you when you enter the wrong password.

Hint 1: Check the sudoers configuration for an option to enable insults.

Hint 2: Edit sudoers (with visudo) and add `Defaults insults`.

 

Solution:

By adding `Defaults insults` to /etc/sudoers (via visudo) and then entering an incorrect sudo password, sudo will respond with random insults (e.g., “Are you typing with your elbows?”) instead of the usual error message.

 

 


Comments

Leave a Reply

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

WordPress Cookie Notice by Real Cookie Banner