Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 18:16:02 -0700 (PDT)
From:      Doug White <>
Subject:   Re: Change another user's password?
Message-ID:  <Pine.BSF.3.96.970718181511.1390C-100000@localhost>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 18 Jul 1997, Justin Ashworth wrote:

> > The superuser can run 'passwd user' to change user's password.
> > 
> > Root can also modify /etc/master.passwd manually and regenerate the
> > password database.
> Yeah, you're the second one to suggest this. I guess I didn't make
> myself clear. I don't want to have the script change the password as
> root because if I did, anybody could get away with changing anybody
> else's password without knowing the original password. I need a way for
> the passwd program to prompt the user for the old password before
> assigning a new one and as far as I know, that can't be done by running
> passwd as root.

Doesn't the system default passwd already do this for standard users? 

Changing local password for dwhite.
Old password: 

Doug White                              | University of Oregon  
Internet:    | Residence Networking Assistant    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo

Want to link to this message? Use this URL: <>