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:

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 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: askubuntu.com/questions/112069/… –  Takkat Jan 28 at 21:44

1 Answer 1

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.