suppress echo in script for password

From: Shawn Bierman (BiermanS@METHODISTHEALTH.ORG)
Date: Thu Nov 20 2003 - 09:41:49 EST


is it possible to turn off the echo while someone enters their password into a ksh script?

ie.

¯-snip---
echo "enter password: \c"
read password
¯-snip---

also is it possible to echo asterisks instead of the chars?

-shawn



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:22 EDT