When I type in my password at a sudo command line prompt, I would like to see a "*" for each keystroke. How do I do this?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
On some UNIX-based systems, sudo can show an asterisk (*) when you type a letter. In the terminal, enter...
Type your root password in (you won't see any visual feedback yet) and hit Enter. Now, find the line that reads:
And replace it with:
Finally save and exit the file. Assuming you are using vi, that command is:
and then press Enter. sudo should now be set up correctly. To test, open up a new terminal and type this to reset the sudo timeout.
Now try it out.
Source: http://whyareyoureadingthisurl.wordpress.com/2010/05/16/sudo-and-password-feedback/ |
|||
|
|
|
You can enable visual feedback when typing passwords by editing your
Example:
|
||||
|
|
