Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 13:29:20 -0400
From:      "Troy Settle" <rewt@i-Plus.net>
To:        <ashworth@esus.cs.montana.edu>, "Doug White" <dwhite@resnet.uoregon.edu>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: Change another user's password?
Message-ID:  <199707181725.NAA02089@radford.i-plus.net>

Next in thread | Raw E-Mail | Index | Archive | Help
From: Justin Ashworth <ashworth@cs.montana.edu>
>Doug White 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.
>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.

su isn't just to gain root access.  You can also su to another user.  Do
this, then run passwd to change the user's password.

Hope this helps,

Troy Settle <st@i-Plus.net>
Network Administrator, iPlus Internet Services
http://www.i-Plus.net




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707181725.NAA02089>