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.

This question already has an answer here:

How do i figure out/input my password into terminal? I just started using Ubuntu, and I want to get Netflix on it. When I put in the command line for that, it asks for my password,but I am unable to enter it. What can I do to enter it?

share|improve this question

marked as duplicate by Andrea Corbellini, NikTh, user68186, bodhi.zazen, guntbert Jan 3 at 19:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Just enterit and press enter. –  xangua Jan 3 at 17:58
    
I tried that but it doesn't type anything i do. –  Glen A Adkins Jan 3 at 18:00
    
you can't see what you type when you write your password, that is normal. –  Presbitero Jan 3 at 18:01
1  
You think it doesn't type. It types but will not show anything (no asterisks or anything). This is the default for security reasons. Type your password carefully and press ENTER –  NikTh Jan 3 at 18:01
1  
In Ubuntu terminal nothing seems to be happening when you enter password. This is by design. Type the password even if nothing gets typed in the terminal. Then hit enter. See askubuntu.com/questions/175624/… –  user68186 Jan 3 at 18:02
show 6 more comments

2 Answers

You are entering it, it just does not appear to change as the password is hidden for security reasons. Not even asterisks appear

For example, here is my 20+ character long password: enter image description here

:-)

share|improve this answer
add comment

What's the Issue?

A lot of new users are thrown off by an inconsistency in the Ubuntu interface. When you enter a password in the GUI (graphical user interface, where you point and click), there is visual feedback—a dot or an asterisk for every character you type. When you enter your password in the terminal, the terminal doesn't seem to "accept" your password because it doesn't offer any visual feedback for the characters you enter.

How do I solve the "problem"?

Your password is being accepted in the terminal. You just aren't getting any visual feedback. Go ahead and type your password and hit Enter afterwards. If you typed your password correctly, there should be no problems.

Source

Though I agree with the following comment from bodhi.zazen

It is not "an inconsistency in the Ubuntu interface", as far as I know, this is the default behavior of both sudo and su on all distros. It is unfamiliar to new users perhaps, but not an inconsistency.

share|improve this answer
1  
It is working :) –  Glen A Adkins Jan 3 at 18:12
1  
It is not "an inconsistency in the Ubuntu interface", as far as I know, this is the default behavior of both sudo and su on all distros. It is unfamiliar to new users perhaps, but not an inconsistency. –  bodhi.zazen Jan 3 at 18:15
    
@bodhi.zazen you are correct, but I quoted the exact content from the page (source), I think I couldn't change this content. I will add your comment in the answer :-) –  NikTh Jan 3 at 18:18
    
Thank you for the clarification –  bodhi.zazen Jan 3 at 18:21
    
The inconsistency is that (some/many/most) GUIs give visual feedback - there has never been one in CLI :-)) –  guntbert Jan 3 at 19:09
add comment

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