FS-CIFS password echo

Wouldn’t it be nice if it would prompt for the password and ***** it out
while reading it? Is there any alternative that people use in a script
to shut off the echo?