How to hide user inputted text for interactive unix shell script?

Hi everybody,

Do you know how to hide the text for interactive unix shell script? Just like the case for inputting password during logon.

Patrick

Do you mean to prevent echoing user input?

echo "enter something \c"
stty -echo
read something
stty echo