tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Tran, Duc-Chi" <tranduc () statcan ! ca>
To: tru64-unix-managers
Subject: SUMMARY: Not echoing the password
Date: Thu, 01 Oct 1998 20:34:00 +0000	[thread overview]
Message-ID: <96078724211581.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1998-10-01 20:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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