Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I cannot type my password as shown below. After successfully unlocking root account in Ubuntu 12.04 LTS.

saintmichael@ubuntu:~$ sudo 
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
            name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] file ...
saintmichael@ubuntu:~$ sudo ./sophos-av/install.sh
[sudo] password for saintmichael: 
share|improve this question
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. –  Rinzwind May 9 '12 at 6:49
possible duplicate of Nothing shows up on the screen when I type my password –  Eliah Kagan Jun 19 '12 at 1:31
add comment

2 Answers

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.

share|improve this answer
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. –  Eliah Kagan Jun 18 '12 at 23:51
add comment

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|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.