K.S. Bhaskar on 13 Apr 2010 09:25:45 -0700


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

[PLUG] POSIX shell way to read a passphrase


In bash, you can prompt for and read from the keyboard without echoing
(e.g., to capture a password, you can use read -sp "Password: "
mypwd).  What is the recommended way, if any, to do this in a POSIX
shell script that must execute on a wide range of UNIX/Linux
platforms?  Thanks in advance.

Regards
-- Bhaskar

-- 
Windows does to computers what smoking does to humans
___________________________________________________________________________
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