Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 22:49:37 -0700
From:      Justin Ashworth <ashworth@cs.montana.edu>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        ashworth@esus.cs.montana.edu, questions@FreeBSD.ORG
Subject:   Re: Change another user's password?
Message-ID:  <33D05571.BE09B20C@cs.montana.edu>
References:  <Pine.BSF.3.96.970718181511.1390C-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> 
> 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?
> 
> gdi,ttyp2,~,14>passwd
> Changing local password for dwhite.
> Old password:

Yes, but read my original message...the users don't have shell access.
That's the whole tough thing about this. I guess it's just not doable.

-- 

- 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?33D05571.BE09B20C>