Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The following two lines were shown in the terminal:-
joseyau@joseyau-H81M-DS2:~$ sudo apt install basilik
[sudo] password for joseyau: X
Seeing the prompt for password, I tried to input the password, but an empty space showed up in the "x" position. Could not clear it to input the password.
How can I clear up this to continue putting in the password?
Last edited by cyberparrot; 10-12-2022 at 10:57 AM.
You absolutely COULD enter the password, and started to do so. Why did you stop?
Just because you cannot see what you have typed does not make it mysteriously no longer exist, it just means you cannot SEE it. For Password entry, that is NORMAL!
For most people/software, what's normal is feedback in the form of asterisks or dots.
On most systems, that is configurable for PAM and SSHD, and many other services. All of mine are set to not give feedback on security entry for passwords or codes. .
On most systems, that is configurable for PAM and SSHD, and many other services. All of mine are set to not give feedback on security entry for passwords or codes. .
How is it done with PAM? I can't find anything relevant online, nor in man pages, nor looking through /etc/pam.d files
For sudo, showing password asterisks is an easy config change:
Code:
sudo sh -c 'echo "Defaults pwfeedback" > /etc/sudoers.d/01_feedback'
(Where "01_feedback" is a new file named as per man sudoers. Reverting the change can be done by removing the file, or renaming it to 01_feedback.disabled)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.