From owner-freebsd-questions Sun Nov 18 5:43: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 44E6D37B416 for ; Sun, 18 Nov 2001 05:42:52 -0800 (PST) Received: (qmail 40228 invoked by uid 100); 18 Nov 2001 13:42:51 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15351.47835.296410.592078@guru.mired.org> Date: Sun, 18 Nov 2001 07:42:51 -0600 To: Lu!s Croker Cc: questions@freebsd.org Subject: Re: echo! In-Reply-To: <55329165@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lu!s Croker types: > Hi, > > I'm trying to do a script with dialog command... I want to ask for > passwords in this script. I would not like show the password field in the > screen or maybe put something like "****" instead the real characters... > Any Ideas? Thanks. 1) Write a custom program that DTRT for it's input and then prints it out, so you'd do: PASSWORD=`getpassword-with-stars` 2) Use stty to change the terminal state while getting the password. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message