Get the Terminal to Show Asterisks When Typing Password

If you have used the terminal in Linux (or Mac), you will know that it does not show anything when you type a password. The lack of a feedback system means that you won’t know if you have typed a password, or have entered the correct number of characters. Here is how you can make the terminal show asterisks when you type a password.

1. Open a terminal and type:

2. Scroll down the list until you find the line:

3. Append the word “pwfeedback” to the end of the line so it looks like:

add-password-asterisk-to-terminal

Save (ctrl +o) and exit (ctrl +x).

That’s it.

3 comments

  1. It’s worth noting that this is likely not the default for security reasons. Someone watching you enter you password can easily see how many characters it is. Not a big deal, but worth nothing.

    • There is always a reason why it is not activated by default. If you choose to turn it on, you have to be sure of the consequences.

Comments are closed.

Sponsored Stories