Re: hashing out typed passwords
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 22:00:49 +0100
In alt.os.linux Ray <raycook@xxxxxxx>:
[..]
I have a script that asks for a password to be entered so it can be
used later on in the script. This works great execpt tyat you can see
the password in plain text when you have enterd it on screen. What i
would really like it to do is to echo ****** as i type the password.
That way nobody should be able to scroll up the screen buffer to get
the password.
$ read -s -p "enter password> "
enter password>
$ echo $REPLY
blah
No stars, they would just tell about the length of the password.
Good luck
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 306: CPU-angle has to be adjusted because of
vibrations coming from the nearby road
.
- References:
- hashing out typed passwords
- From: Ray
- hashing out typed passwords
- Prev by Date: Re: EULA - glad I chose Linux
- Next by Date: Re: ProShow Gold by Photodex-Can It Work With Wine
- Previous by thread: hashing out typed passwords
- Index(es):
Relevant Pages
|