help with execve

Can't touch this... basilisk at banana.ucsb.edu
Tue Oct 23 15:50:51 AEST 1990


I am trying to run a process within a program by using 'execve'.  More
specifically, I want to execute the 'login' command so I can log on to
another machine into my other account.  I am having trouble getting it
to accept my password, though.  First of all, it doesn't seem to
accept it from stdin, because I first tried to pipe it in.  Also, it
seems to prompt for the password over stderr.  Is there any way to
send input to this process?  Am I just going to have to give up and do
it manually??  Should I be using something other than execve???

Help would be greatly appreciated...thanks in advance...if I've said 
something really stupid, no flames, please (I've RTFMed and it hasn't
helped)...




--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
| Basilisk, who is he?  Basilisk, what is he?   | Ed Jordan               |
| Basilisk,Ba-basilisk, where does he come from?| basilisk at cornu.ucsb.edu |
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=



More information about the Comp.unix.questions mailing list