Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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. :)


In that case, I'll make mine echo a random number of characters pee key stroke. The feedback is nice but then there are no worries about someone observing password length.


I mean, Gnome being in JavaScript makes it easier


Yes, easier for hacker to tweak


I mean, that's the point yes




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: