Path: utzoo!attcan!uunet!ogicse!ucsd!hub.ucsb.edu!basilisk From: basilisk@banana.ucsb.edu (Can't touch this...) Newsgroups: comp.unix.questions Subject: help with execve Message-ID: <6732@hub.ucsb.edu> Date: 23 Oct 90 05:50:51 GMT Sender: news@hub.ucsb.edu Reply-To: basilisk@cornu.ucsb.edu Distribution: comp.unix.questions Organization: UC Santa Barbara Computer Science Lines: 21 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@cornu.ucsb.edu | =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=