Date: Sat, 11 Apr 1998 12:36:16 -0700 From: Dima Dorfman <webmaster@zwb.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: password change via the web?! Message-ID: <3.0.5.32.19980411123616.009374e0@207.213.224.25>
next in thread | raw e-mail | index | archive | help
That won't work, because with just perl because getpass(3) prints to a tty, not stdin. I don't know what expect is, but I've tried it before with pipes. Thanks! Dima At 12:33 PM 4/11/98 -0700, you wrote: >On Sat, 11 Apr 1998, Dima Dorfman wrote: > >> Such a script would be very hard to make secure, because to change a >> password, you have to run with root's permissions. > >Actually, you could use a perl/expect combo to do this without running as >root and without hacking the passwd code. > >-- > "Tact is just not saying true things. I'll pass." > "No more frogs." > > --- Thanks! Dima Dorfman - dima@zwb.net "640k ought to be enough for anybody." - Bill Gates, 1981 - Bill Gates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980411123616.009374e0>