Date: Sun, 18 Nov 2001 07:42:51 -0600 From: Mike Meyer <mwm@mired.org> To: Lu!s Croker <lcroker@megared.net.mx> Cc: questions@freebsd.org Subject: Re: echo! Message-ID: <15351.47835.296410.592078@guru.mired.org> In-Reply-To: <55329165@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Lu!s Croker <lcroker@megared.net.mx> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15351.47835.296410.592078>