Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

when I run sudo command , so when I mess up my password, I have to start over from scratch, is there a trick to enable password asterisks so I know how letter I have typed?

share|improve this question

marked as duplicate by vasa1, Takkat, Eric Carvalho, waltinator, Florian Diesch Jan 29 '14 at 20:37

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.

related:… – Takkat Jan 28 '14 at 21:44

Run the following command in a Terminal:

sudo visudo

Scroll down to the line that looks like this

Defaults        env_reset

and change it to this:

Defaults        env_reset,pwfeedback

Press Ctrl+X to finish editing, Y to save changes, and Enter to exit.

share|improve this answer

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