Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 06:31:37 -0700
From:      Justin Ashworth <>
To:        Doug White <>
Subject:   Re: Change another user's password?
Message-ID:  <>
References:  <Pine.BSF.3.96.970717235758.283M-100000@localhost>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Doug White wrote:
> On Thu, 17 Jul 1997, Justin Ashworth wrote:
> > Is there a way for one user to change another user's password?
> 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.

Hope that's a little clearer...


- Justin Ashworth

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