sean finney on 13 Apr 2010 10:35:57 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] POSIX shell way to read a passphrase


On Tue, Apr 13, 2010 at 12:39:34PM -0400, David Blackman wrote:
> I've done it this way:
> 
> http://www.askdavetaylor.com/prompting_users_for_passwords_in_a_shell_script.html

you might want to put a trap into your script that resets the tty, in case the
user hits ctrl-c or similar while the tty isn't echoing.


	sean

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug