From owner-freebsd-questions Tue Sep 16 20:27:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA09596 for questions-outgoing; Tue, 16 Sep 1997 20:27:16 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts7-line15.uoregon.edu [128.223.150.62]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA09591 for ; Tue, 16 Sep 1997 20:27:13 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id UAA04341; Tue, 16 Sep 1997 20:27:01 -0700 (PDT) Date: Tue, 16 Sep 1997 20:27:01 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Randy Katz cc: questions@FreeBSD.ORG Subject: Re: AUTOMATE USER CHANGE PASSWORD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 16 Sep 1997, Randy Katz wrote: > I need to automate users being able to change their Unix password from > their Web page. Has anyone heard of or have they hacked passwd.c in order > for it to be able to do that? How about the pw program, particularly the `usermod' -h option? pw is a command-line utility to make changes to the password database. It shouldn't be too hard to have a Perl script feed the appropriate fields to it. `man pw' for more info. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo