Date: Mon, 20 Mar 2000 12:00:41 +1100 From: aunty <aunty@comcen.com.au> To: freebsd-questions@freebsd.org Subject: password echo with remote sudo Message-ID: <20000320120041.A47022@comcen.com.au>
index | next in thread | raw e-mail
We're trying to use a script which runs a sudo command on a remote
linux box via ssh, and the sudo password keeps echoing to the screen
even though the ssh password does not.
taboo@bsdbox$ ssh linuxbox /home/sue/bin/tryit.sh
taboo@linuxbox's password: <-- no password echo for ssh
Please type your sudo password <-- script prompts this
Password:OpenSesame <-- echo passwd for script's sudo
Linux 2.2.13.
Adding 'stty -echo' to the remote script doesn't work.
The remote linux machine says
stty: standard input: Invalid argument
and for comparison, a remote FreeBSD says
stty: stdin isn't a terminal
What's the proper way to do this?
--
Regards,
-*Sue*-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000320120041.A47022>
