Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 1997 21:20:58 -0700
From:      "Randy A. Katz" <randyk@ccsales.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: AUTOMATE USER CHANGE PASSWORD
Message-ID:  <3.0.3.32.19970916212058.009fb520@ccsales.com>
In-Reply-To: <Pine.BSF.3.96.970916202601.4310E-100000@localhost>
References:  <Pine.BSF.3.91.970916113914.6393B-100000@ccsales.ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This requires the user executing it to be root, according to the man pw
page, first paragraph, oh well. 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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19970916212058.009fb520>