reading password and echoing '*' character on console

hi all,

I am using HP-UX system.

I want echoing * characters while reading password through keyboard instead of blank space.

can u help me for that code?

Thanks

I am closing this thread as it is a duplicate of http://www.unix.com/shell-programming-scripting/111832-echo-password.html