You are not logged in.

#1 2020-11-19 12:02:50

sonphantrung
Member
Registered: 2020-07-16
Posts: 16

How to show asterisks in passwd

I have no problem with my laptop, but do you know how to show the asterisks in passwd, as I feel very confused when I change the password. Thank you

Offline

#2 2020-11-19 12:11:34

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 703

Re: How to show asterisks in passwd

sonphantrung wrote:

I have no problem with my laptop, but do you know how to show the asterisks in passwd, as I feel very confused when I change the password. Thank you

AFAIK, passwd does not have a way to echo * on each character.
Feel free to ask to upstream if they care about such feature...

But it may be received with disdain, since echoing characters is considered by some (who?) as a security weakness (how?).

My assumption is that it allows $someone to see the length of your password, alongside other related problems...

Last edited by GaKu999 (2020-11-19 12:12:19)


What's up doc?

Offline

#3 2020-11-19 14:15:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,565
Website

Re: How to show asterisks in passwd

If you don't like passwd's interface, don't use it.  Use chpasswd instead.

If you mean for loging in or for sudo, there are options for those programs (e.g., pwfeedback for sudo).

Last edited by Trilby (2020-11-19 14:17:16)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-11-19 15:03:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,113

Re: How to show asterisks in passwd

rlwrap passwd

But absolutely NO guarantees on security implications.

Online

Board footer

Powered by FluxBB