Re: RFE: Echo dots option for 'read -s'

Robert Elz <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
    Date:        Sun, 21 Dec 2025 13:23:29 -0800
    From:        Bruce Jerrick <[email protected]>
    Message-ID:  <[email protected]>

  |     I don't think it would "rarely" be used.  It would be a good thing
  |     to have when reading a password.

Displaying anything while reading passwords is a security problem,
it makes it too easy for someone who can, even just briefly, observe
the screen, to determine how many characters long the password is.
It is bad enough on phones, but at least the screens of those can
usually be kept hidden, it is horrid on computer monitors, which can
usually be seen from the other side of even a fairly large room.

Just don't do that.

kre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.