I cannot enter my password when using sudo to install Sophos AV for Linux

1,816

Solution 1

When entering your password when using sudo, nothing is printed to the terminal. This is for security so people behind you aren't able to see the length of your password. So try again, enter your password (even though it looks like nothing is happening) then hit enter. It should run the install script.

Solution 2

When terminal asks about your password. Don't try to write new password. Just type your current Ubuntu login password without any spelling mistakes or on caps lock.

Share:
1,816
Todd Valentine
Author by

Todd Valentine

Updated on September 18, 2022

Comments

  • Todd Valentine
    Todd Valentine over 1 year

    I have used the following query in Silverstripe 2.x projects:

    $obj = DataObject::get_one('Post', "\"URLSegment\" = '$segment'")
    

    Does anyone know how I would replicate this query in the new ORM? I have tried :

    $obj = Post::get()->filter("\"URLSegment\" = '$segment'")
    $obj = Post::get()->where("\"URLSegment\" = '$segment'")
    

    And neither appear to work.

    Thanks!

    • Rinzwind
      Rinzwind almost 12 years
      What does the 1st part of your text have to do with installing sophos? The 2nd line from the bottom is the one you use to install it and the last line clearly asks for your password. I see no problems here!? If it is about the 1st part: sudo itself needs a command behind it. sudo su will get you a root prompt.
    • xdevs23
      xdevs23 about 8 years
      Access the root account using su
  • Eliah Kagan
    Eliah Kagan almost 12 years
    It's not just so that people behind you don't see the length of the password, but also (1) so that subsequent users don't see it, if the screen isn't cleared, and (2) so that if you log the text printed to the console (for example, with script), the length doesn't appear in the log.