×


Related to bash read password asterisk


Display Asterisks While Typing Sudo Password in Linux (Ubuntu and CentOS Example)

This article covers how to show an asterisk as visual feedback while typing sudo password. Try once on Ubuntu or Centos by doing small changes on the file on /etc/sudoers file. 

To Show Asterisks While Typing Sudo Password in Linux, simply edit the /etc/sudoers file and add pwfeedback. This makes the asterisks visible when the password is entered. After the file is edited and saved, we type reset command for the effect to take place.