Showing posts with label make unix password invisible.. Show all posts
Showing posts with label make unix password invisible.. Show all posts

Saturday, September 13, 2008

Invisible Password

#!/bin/ksh

/bin/stty -echo echonl
read up?password:
/bin/stty echo

# you should get user input password in this up varialbe now
# print it out to verify
echo password is "$up"