input password & shell
Hi all,
The following script is for password input
echo "Input password for user abc..."
stty -echo #screen the input so that no one will see what u type
read password
stty echo
Here stty -echo works well. However, I would like it outputs "*" instead of what I type or nothing. Can I? How?
Thanks
|