sudo -S

From: Senn, Bruce <sennb_at_union.edu>
Date: Tue, 10 Sep 2002 13:06:34 -0400

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT