Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In debian wheezy terminal i type

su -

It ask for password, which i type but it dont show anything as

Password:

I want to it to show at least some asterisks as the placeholder for the password characters as follow:

Password: ************
share|improve this question
add comment

2 Answers 2

There is a way to do it with "sudo" but it does not work with su... But if you want to display "*" with sudo, you need to add this line in "/etc/sudoers" file :

Defaults pwfeedback
share|improve this answer
    
That did not work for me i did visudo then inserted Defaults pwfeedback which failed then i inserted Defaults pwfeedback="*" which also failed. Any idea ... –  Nishan Aug 21 '13 at 13:14
    
Did you tried with "su" or "sudo" ? –  Junior Dussouillez Aug 21 '13 at 13:16
    
BOTH sudo apt-get install vlc -- FAILED su - as said by you FAILED too –  Nishan Aug 21 '13 at 13:34
    
That's weird, it's working for me with sudo, I added the line at the end of my sudoers file. You can also add it elsewhere. For example, after env_reset -> "Defaults env_reset, pwfeedback". –  Junior Dussouillez Aug 21 '13 at 13:39
    
i added it after Defaults secure_path="", however thank you very much for your sincere efforts. –  Nishan Aug 21 '13 at 13:51
show 3 more comments

Is there something that can be done about this?

No, unfortunately. It's an inconsistency in the interface (visual feedback in the GUI, no visual feedback in the terminal), and inconsistencies confuse new users.

I started a thread about this in the Ubuntu Forums called Feedback on entering password in the terminal? I even filed a bug report on the issue, but the developers have rejected it.

So, you've just got to get used to it.

from http://www.psychocats.net/ubuntu/passwordinterminal

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.