The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-20-2007
LivinFree's Avatar
LivinFree LivinFree is offline
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
I've done this with shell scripts using something like:
Code:
stty -echo
 printf "Password: "
 read pass
stty echo
Looking at an strace of that, it looks like you could skip running stty and issue the ioctl yourself, but that heads out beyond my knowledge...
Reply With Quote