How to Show Asterisks When Typing Password in Ubuntu Terminal

You know that Ubuntu is one of the best and tricky operating system that is used in different large companies and some other operating systems are depended too on Linux.

Terminal in Ubuntu is such a great and most useful place from where anyone can control your entire Ubuntu PC according to him/her. Previously, we have mentioned some tricks and software like Unity Tweak Tool, UnSettings, open any site through Terminal and lot more.

Today, we are going to show how you can change the “nothing” when typing password in Ubuntu Terminal without using any third party software. If you are familiar with Terminal, you might have noticed that Ubuntu doesn’t show anything when you type password.

Show Asterisks When Typing Password in Ubuntu Terminal

Sometime it is good. However, sometime it is not. Suppose, you have entered a very strong password, which has one capital letter, small letter, digit, special character etc. and you want to check your password by counting. At such a moment, you won’t get any help from terminal since it doesn’t show anything by default. Here’s how to troubleshoot it.

How to show asterisks when typing password in Ubuntu Terminal?

This is however very easy using terminal itself. Just open your terminal and start typing;

sudo visudo

Now you will get a screen something like the following picture;

Show Asterisks When Typing Password in Ubuntu Terminal

Just find out;

Defaults       env_reset

Now place your pointer beside it and add following line;

,pwfeedback

Show Asterisks When Typing Password in Ubuntu Terminal

Means, after changing the line, it will be looking as follows;

Defaults       env_reset,pwfeedback

Now press Ctrl + X to complete your editing and you will get a screen something like the following picture;

Show Asterisks When Typing Password in Ubuntu Terminal

Press Y to confirm your settings. Now you have almost done. Now whenever you will type password in Terminal, you can find them visible.

Show Asterisks When Typing Password in Ubuntu Terminal

Thanks Sudoers


Feel Free to share your thoughts in the comment section below.
Don't forget to follow us on Twitter, like our Facebook Fan Page and Add us to your circles on Google+ to keep you updated with the latest technology news, gadget reviews, launches around the world and much more
Tagged with