Announcement

Collapse
No announcement yet.

Another cool trick - sudo can insult you when you enter the wrong password?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Another cool trick - sudo can insult you when you enter the wrong password?

    This is a fun one. You can enable sudo to insult you when you enter an incorrect password!

    Just edit sudoers using "sudo visudo" and add "insults" to the defaults and save. You will then see one of four groups of insults if you mis-type your password.

    To make the change, in a terminal:

    sudo visudo

    then either add the line:

    Defaults insults

    or edit the first Defaults line and add insults to it

    Defaults env_reset,insults

    and save. The change takes place immediately. Here's mine:

    stuart@office:~$ sudo ls /root
    [sudo] password for stuart:
    Have you considered trying to match wits with a rutabaga?
    [sudo] password for stuart:
    That's something I cannot allow to happen.
    [sudo] password for stuart:
    sudo: 3 incorrect password attempts
    The insults you will see are one of these four groups:


    HAL insults (paraphrased) from 2001.

    "Just what do you think you're doing Dave?",
    "It can only be attributed to human error.",
    "That's something I cannot allow to happen.",
    "My mind is going. I can feel it.",
    "Sorry about this, I know it's a bit silly.",
    "Take a stress pill and think things over.",
    "This mission is too important for me to allow you to jeopardize it.",
    "I feel much better now.",

    Insults from the "Goon Show."
    "You silly, twisted boy you.",
    "He has fallen in the water!",
    "We'll all be murdered in our beds!",
    "You can't come in. Our tiger has got flu",
    "I don't wish to know that.",
    "What, what, what, what, what, what, what, what, what, what?",
    "You can't get the wood, you know.",
    "You'll starve!",
    "... and it used to be so popular...",
    "Pauses for audience applause, not a sausage",
    "Hold it up to the light --- not a brain in sight!",
    "Have a gorilla...",
    "There must be cure for it!",
    "There's a lot of it about, you know.",
    "You do that again and see what happens...",
    "Ying Tong Iddle I Po",
    "Harm can come to a young lad like that!",
    "And with that remarks folks, the case of the Crown vs yourself was proven.",
    "Speak English you fool --- there are no subtitles in this scene.",
    "You gotta go owwwww!",
    "I have been called worse.",
    "It's only your word against mine.",
    "I think ... err ... I think ... I think I'll go home",

    CSOps insults (may be site dependent).
    "Maybe if you used more than just two fingers...",
    "BOB says: You seem to have forgotten your passwd, enter another!",
    "stty: unknown mode: doofus",
    "I can't hear you -- I'm using the scrambler.",
    "The more you drive -- the dumber you get.",
    "Listen, broccoli brains, I don't have time to listen to this trash.",
    "Listen, burrito brains, I don't have time to listen to this trash.",
    "I've seen penguins that can type better than that.",
    "Have you considered trying to match wits with a rutabaga?",
    "You speak an infinite deal of nothing",

    Insults from the original sudo.
    "Wrong! You cheating scum!",
    "And you call yourself a Rocket Scientist!",
    "No soap, honkie-lips.",
    "Where did you learn to type?",
    "Are you on drugs?",
    "My pet ferret can type better than you!",
    "You type like I drive.",
    "Do you think like you type?",

    Please Read Me

    #2
    O ,,,I'm going to enable that tonight ,,,,,,,,

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Don't need it. I'm marrried...
      If you think Education is expensive, try ignorance.

      The difference between genius and stupidity is genius has limits.

      Comment


        #4
        Originally posted by SpecialEd View Post
        Don't need it. I'm marrried...
        Possibly the quote of the year on KFN...
        ​"Keep it between the ditches"
        K*Digest Blog
        K*Digest on Twitter

        Comment


          #5
          Originally posted by SpecialEd View Post
          Don't need it. I'm marrried...
          I'm feeling you their man .

          Originally posted by dequire View Post
          Possibly the quote of the year on KFN...
          +1 on that

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            lol you should have tried sudo and mistyped something in a distro that had... let's say...a "controller" a decade ago... This does NOT include the security distros that just insulted people who couldn't do a Sherlock Holmes cypher...lol...

            woodnotasnowflakesmoke

            Comment


              #7
              you can also add the edit to one of the files in /etc/sudoers.d ,,,,,that would be mildly safer .

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment

              Working...
              X