Date: Fri, 18 Jul 1997 18:16:02 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: ashworth@esus.cs.montana.edu Cc: questions@freebsd.org Subject: Re: Change another user's password? Message-ID: <Pine.BSF.3.96.970718181511.1390C-100000@localhost> In-Reply-To: <33CF7039.4BF04828@cs.montana.edu>
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? gdi,ttyp2,~,14>passwd Changing local password for dwhite. Old password: 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?Pine.BSF.3.96.970718181511.1390C-100000>