From owner-freebsd-isp Thu Nov 26 09:14:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA15296 for freebsd-isp-outgoing; Thu, 26 Nov 1998 09:14:37 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from trantor.galaxia.com (terminus.galaxia.com [204.255.210.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15288 for ; Thu, 26 Nov 1998 09:14:23 -0800 (PST) (envelope-from dave@galaxia.com) Received: from localhost (dave@localhost) by trantor.galaxia.com (8.8.8/8.8.7) with ESMTP id MAA06361; Thu, 26 Nov 1998 12:12:56 -0500 (EST) (envelope-from dave@galaxia.com) Date: Thu, 26 Nov 1998 12:12:56 -0500 (EST) From: "David H. Brierley" To: Cliff Reardon cc: freebsd-isp@FreeBSD.ORG Subject: Re: Change Passwd On-Line In-Reply-To: <365DE187.E9047D29@webnet.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 27 Nov 1998, Cliff Reardon wrote: > I was wondering if anybody had a script to use via the web ie: either > .cgi or .pl or even .c so as dial in users can change their passwords > on-line. They are authenticated using the passwd file on a freebsd > computer, and we are using Apache as the web server. What I did was to set everyones "shell" in the password file to the passwd program. I then published instructions telling everyone how to use telnet to connect to the machine. When they connect the system runs the passwd program and thus changes their password. It tooks almost no effort on my part since all of the programs are standard components on the FreeBSD server. -- David H. Brierley dave@galaxia.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message