Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 06:31:37 -0700
From:      Justin Ashworth <ashworth@cs.montana.edu>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@freebsd.org
Subject:   Re: Change another user's password?
Message-ID:  <33CF7039.4BF04828@cs.montana.edu>
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
-- ashworth@cs.montana.edu
- http://www.cs.montana.edu/~ashworth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33CF7039.4BF04828>