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"

No comments:

 

Blogger news

Blogroll