Password Pipe
Gary Weimer 588-0953
weimer at garden.kodak.COM
Wed Mar 27 06:39:48 AEST 1991
In article <13766 at helios.TAMU.EDU>, packman at tamuts.tamu.edu (Wally
Strzelec) writes:
|> Howdy.... I am writing a short program that will allow me to change the
|> password on a remote machine. To do this I am trying to use popen and
|> feed it the "/etc/passwd" command on the remote machine. The problem
|> is that it seems that the passwd command doesn't accept anything that
|> I send down the pipe. Can someone please tell me where I am messing
|> up. The following is my test:
[code deleted]
This may depend on your system. I've had problems trying to redirect the
input of the passwd command in SunOS. If I remember correctly, it was
trying to get its input directly from /dev/tty.
weimer at ssd.kodak.com ( Gary Weimer )
More information about the Comp.unix.wizards
mailing list