Thank you for many people who have answered. The solution is:
stty -echo
read USER_PASSWORD
stty echo
----------
From: Tran, Duc-Chi
To: alpha-osf-managers
Subject: Not echoing the password
Date: October 01, 1998 10:21PM
Hi,
I am writing a ksh script which prompts the user to enter a password (with
the read command). I do not want the password printed on the terminal when
the user is keying it. What can I do? Thanks.
Duc-Chi Tran
Statistics Canada
Received on Thu Oct 01 1998 - 20:16:18 NZST