#!/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"
/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:
Post a Comment