stty echo
stty -echo
|> I got such fantastic responce on my last dumb question, I decided to turn
|> this one over to you as well! :) Here's another stumper for you all:
|>
|> How would one read a word typed by a user without echoing it to the
|> screen (it's a password). In my sh script I currently have:
|>
|> #!/bin/sh
|>
|> {stuff deleted}
|>
|> echo "Special system user name:"
|> echo $ssusername
|>
|> echo "Enter password:"
|> read $sspassword
|>
|> export $ssusername $sspassword
|>
|> newscript &
|>
|>
|> Thanks, Simon...
|> --
|> ||| | || || Generic Sig ''`
|> ||| | || || =========== O-O
|> ||| | || || L
|> || 01416 || Information Technology Dept, Sheridan College, Oakville, ON, Canada
--
Disclaimer: I don't speak for Martin Marietta or the EPA.
----------------------------------------------------------
P.O. Box 14365, MD-4501-1B, Research Triangle Park, NC 27709