Let Sudo Insult You When You Enter Incorrect Password

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. dreis911 says:

    Yeah! It’s not useful but it’s funny. Specially if you have a PC/System with more than 1 user.

    BTW, the 5th attempt has a different comment. Does it repeat this kind of comment every 5 wrong attempts?

    How many can a user fail? Is it indefinite?
    (sorry for the newbie questions)

    • Aaron Kili says:


      The last attempt does not show an insult. Again, yes, it repeats the comment and specifies the number of attempts. And you can configure the number of password tries using the passwd_tries parameter as below:

      Defaults passwd_tries=5(specify the number of tries you want)

  2. Pittor says:

    I am gonna have a lot of fun with that! Thank you very much!

  3. Stephen says:

    Regrettably, Red Hat and CentOS configure the sudo binary such that it does not support insults.

  4. Jonathan says:

    That’s fun ! Thanks for this tips !

Leave a Reply to dreis911 Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.