[SOLVED] Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Greetings.
I have noticed that terminals in Linux Mint 19.1 Tessa (XFCE4-panel 12.2, 64-bits, kernel 4.15.0-43 generic) display asterisks when the user needs to type their root password. I've tried this is UXTerm, Gnome-Terminal, Terminator and XFCE4 Terminal. I believe this is universal. I've looked on the advanced tab on the documentation page of the terminal and found no mention of that (at least explicitly). I've searched on the terminal settings a way to disable this feature -- so far, nothing related to it. I've also tried the visudo way of showing asterisks by adding the pwfeedback line, but in my case, this line doesn't exist, so I can't delete it to try a fix. It's become a standard feature.
I'd like to know how to disable this feature and maintain the plain invisible feature when typing password in terminals.
Thanks in advance.
I have noticed that terminals in Linux Mint 19.1 Tessa (XFCE4-panel 12.2, 64-bits, kernel 4.15.0-43 generic) display asterisks when the user needs to type their root password. I've tried this is UXTerm, Gnome-Terminal, Terminator and XFCE4 Terminal. I believe this is universal. I've looked on the advanced tab on the documentation page of the terminal and found no mention of that (at least explicitly). I've searched on the terminal settings a way to disable this feature -- so far, nothing related to it. I've also tried the visudo way of showing asterisks by adding the pwfeedback line, but in my case, this line doesn't exist, so I can't delete it to try a fix. It's become a standard feature.
I'd like to know how to disable this feature and maintain the plain invisible feature when typing password in terminals.
Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Hello MrEren
Thank you for your answer, it has helped me tailor my question specifically and it made me look at the comments and other Linux Mint blog posts again.
I've found a way to disable it with one command:
Thanks to the user NIkoKrauser here on this link.
Solved!
Thank you for your answer, it has helped me tailor my question specifically and it made me look at the comments and other Linux Mint blog posts again.
I've found a way to disable it with one command:
Code: Select all
sudo mv /etc/sudoers.d/0pwfeedback /etc/sudoers.d/0pwfeedback.disabled
Solved!
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
An even better way there, as it's reversible. Nice find.
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
That's cool! I'll mark the topic as SOLVED for you, this time.
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
The only good way is to override it, that's why I prefixed it with the 0 so it gets read early:
Code: Select all
echo 'Defaults !pwfeedback'|sudo tee /etc/sudoers.d/9_no_pwfeedback
mintsystem
package, that's why they're no good in the long term.As a side-note, I'm surprised people have issues with this feature, considering graphical authentication works the same way. I just normalized password entry between GUI and terminal so we don't have to explain to newbies anymore that their keyboard isn't broken when on a command line.
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Understood and agreed. If someone can see and count asterisks's's's , they can also probably hear and count keyclicks.
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
...care to earn a few 'points' over at stackexchange?
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
It might surprise you but I don't even have an account at SE or related sites. My Linux forum-life is limited to the Mint forums. If you're out for rep at SE feel free to answer in my stead.
Re: [SOLVED] Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Hahaha! I dont' have an account myself either there, thereby i'll pass the opportunity to...
'make a name' for myself - even if under the direct permission from the author himself
I do browse though stackexchange, askubuntu & reddit on a semi-daily basis as a way of spending killing time,
and picking up the odd piece of info or workaround here & there...
Noticed the above yesterday & found it somewhat amusing - in the sense,
of just how much 'pointless' such 'point' systems can be, at least online...
'make a name' for myself - even if under the direct permission from the author himself
I do browse though stackexchange, askubuntu & reddit on a semi-daily basis as a way of spending killing time,
and picking up the odd piece of info or workaround here & there...
Noticed the above yesterday & found it somewhat amusing - in the sense,
of just how much 'pointless' such 'point' systems can be, at least online...
- Pjotr
- Level 24
- Posts: 20832
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱 🇮🇱
- Contact:
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
You achieved that? Thanks!gm10 wrote: ⤴Sat Dec 29, 2018 2:17 pm As a side-note, I'm surprised people have issues with this feature, considering graphical authentication works the same way. I just normalized password entry between GUI and terminal so we don't have to explain to newbies anymore that their keyboard isn't broken when on a command line.
Indeed, there was no valid reason to maintain that difference between graphical authentication and terminal authentication. It just makes life easier for newbies, without diminishing their security.
I did have to modify quite some amount of lines in the how-to's on my website, though.
Tip: 10 things to do after installing Linux Mint 22 Wilma
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Cheers for the feedback. I think you're actually the first to say out loud that hey liked the change. And it's not just easier for newbies, I find it convenient myself.
Hah, I take that as a good thing, because if you felt it necessary to add that much explanation that further confirms my reasoning for changing it.
Last edited by gm10 on Sat Jan 26, 2019 12:29 pm, edited 1 time in total.
- Pjotr
- Level 24
- Posts: 20832
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱 🇮🇱
- Contact:
Re: [SOLVED] Mint 19.1 -- Terminals show asterisks on password. How to disable this feature?
Yep, it's a good change.... It makes me wonder why Ubuntu never thought of that. After all, Ubuntu's very reason for existence is to make Debian easier.
And don't mind the criticism.... Nobody in his right mind can defend the logic of graphical authentication *with* feedback, and terminal authentication *without* feedback. Feedback is only a very small decrease of security, but heightens the user-friendliness noticeably.
I suppose the criticasters are just creatures of habit.
https://www.youtube.com/watch?v=ut3jqRlElOM
And don't mind the criticism.... Nobody in his right mind can defend the logic of graphical authentication *with* feedback, and terminal authentication *without* feedback. Feedback is only a very small decrease of security, but heightens the user-friendliness noticeably.
I suppose the criticasters are just creatures of habit.
https://www.youtube.com/watch?v=ut3jqRlElOM
Tip: 10 things to do after installing Linux Mint 22 Wilma
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.