From owner-freebsd-questions Tue Sep 16 20:38:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA10248 for questions-outgoing; Tue, 16 Sep 1997 20:38:02 -0700 (PDT) Received: from rkntws40casa (pool44.hiper.net [207.137.172.44]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA10243; Tue, 16 Sep 1997 20:37:59 -0700 (PDT) Message-Id: <3.0.3.32.19970916203710.00f8e300@ccsales.com> X-Sender: randyk@ccsales.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Tue, 16 Sep 1997 20:37:10 -0700 To: Doug White From: "Randy A. Katz" Subject: Re: AUTOMATE USER CHANGE PASSWORD Cc: questions@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This does not work. It says in the man page for pw in the first paragraph that it must be run by root. Any other suggestions? At 08:27 PM 9/16/97 -0700, Doug White wrote: >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 > >