Comment by egberts1
6 months ago
You can opt-in for a "no visual echo" of any character (asterisk or not) for password prompts:
----
For KDE:
sudo vim /etc/sddm.conf.d/hide-password.conf
insert in:
[Greeter]
ShowPasswordEcho=false
then reboot.
----
For `sudo`:
sudo vim /etc/sudoers.d/password-no-visual-echo
Insert/replace `Defaults` with:
Defaults !pwfeedback
----
For GNOME, you have to modify `unlockDialog.js`
sudo vim /usr/share/gnome-shell/js/ui/unlockDialog.js
And do one of the following (version-specific):
this._passwordEntry.clutter_text.set_password_char('');
or in newer version, replace `echo_char` with `null`. Reboot required.
Or just replace sudo-rs with sudo.
Opinionated security tools maintainers rarely get it right.
Can I change my password char to an emoji?
Only with GNOME
The "cinfiguration" for GNOME actually modifies the source code, so if that's the bar, you can do it everywhere. :)
4 replies →