sudo -S

From: Senn, Bruce (sennb@union.edu)
Date: Tue Sep 10 2002 - 13:06:34 EDT


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@union.edu
  Schenectady, NY 12308 WWW: http://www1.union.edu/~sennb
----------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:51 EDT