From owner-freebsd-questions Tue Apr 14 13:06:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02790 for freebsd-questions-outgoing; Tue, 14 Apr 1998 13:06:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gate.ljis.ml.org (cyberworld.demon.co.uk [158.152.125.109]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA02784 for ; Tue, 14 Apr 1998 20:06:19 GMT (envelope-from ljohnston@cyberworld.demon.co.uk) Received: (from ljohnston@localhost) by gate.ljis.ml.org (8.8.7/8.8.7) id VAA01907; Tue, 14 Apr 1998 21:05:32 +0100 (BST) (envelope-from ljohnston) From: Lee Johnston Message-Id: <199804142005.VAA01907@gate.ljis.ml.org> Subject: Re: password change via the web?! In-Reply-To: <3.0.32.19980414061450.012251a8@peace.com.my> from chas at "Apr 14, 98 05:52:36 am" To: khetan@iafrica.com Date: Tue, 14 Apr 1998 21:05:31 +0100 (BST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > At 01:36 AM 4/13/98 +0200, Khetan Gajjar wrote: > >On Mon, 13 Apr 1998, chas wrote: > > > >>indeed. passwd.cgi and passwd.html are supplied as one of the > >>many examples in the Expect-5.25 package available from the ports > >>collection. > > > >I tried this, but kept getting Permission denied. I believe it's > >related to the fact that user nobody owns the terminal that > >expect is running from, and passwd wants the user to own > >the terminal. > > > >Anyone actually gotten this to work ? I didn't, but I created my own Expect/Perl script. It telnets to the password host and uses passwd to update the passwords. It's available from: http://www.freebsd-uk.eu.org/webpw.tar.gz Regards, Lee. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message