tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Not echoing the password
@ 1998-10-01 20:34 Tran, Duc-Chi
  0 siblings, 0 replies; only message in thread
From: Tran, Duc-Chi @ 1998-10-01 20:34 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-01 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-01 20:34 SUMMARY: Not echoing the password Tran, Duc-Chi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox