passwod in terminal

Asked by tony gregory on 2006-08-07

Hi please bear with me .
first time user of linux used program from september linux format.
i am attempting to open and use terminal window as in artical ubuntu forever.
i enter sudo gedit /etc/apt/sources.list,then i need to enter password but the curser just flashes and it wont allow any key input .
pressing enter just informs me the password is incorect.
cheers
tony

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Dean Sas
Solved:
Last query:
Last reply:
Dean Sas (dsas) said : #1

Hi,
The easiest thing to do is to use "gksudo" rather than "sudo"

This is a security feature so that no-one can see the amount of characters in your password. If you want to continue using "sudo" then, when prompted, type in your password and hit enter. It is allowing your keypresses, just not showing them.

Gabriel Bauman (gabrielbauman) said : #2

To clarify - your password is hidden ON PURPOSE. It's a security thing. Key input is allowed but there is no visual feedback. This is so that someone watching can't tell how many characters there are in your password.

tony gregory (gregory2) said : #3

Thank you everyone.
only prob now is ive forgoten my log on password and i cant get past the log on screen!

Dean Sas (dsas) said : #4

You can get your password back by choosing "safe mode" when you start your computer up. Then type "passwd gregory" (or whatever your username is) and enter a new password.