I am not able to get sudo to read from stdin. Has anyone else had this
problem with sudo on Tru64? Does anyone know a solution?
The test of reading from stdin is
sudo -S somecommand <<EOD
mypassword
EOD
I have also tries sudo -S somecommand < filewithpassword
TIA.
Tru64-Unix 4.0D running on an Alpha Personal Workstation 600au and
eventually an Alpha Server 4100.
Bruce.
----------------------------------------------------------------------
Bruce J. Senn Phone: (518) 388-6664
Senior System Manager FAX: (518) 388-6458
Union College E-mail: sennb_at_union.edu
Schenectady, NY 12308 WWW:
http://www1.union.edu/~sennb
----------------------------------------------------------------------
Received on Tue Sep 10 2002 - 17:06:56 NZST