How to reset a uesr's password

Chad chad at oscar.cs.byu.edu
Sun Jun 30 03:10:17 AEST 1991


--
In article <1014 at lhdsy1.chevron.com>, yzarn at lhdsy1.chevron.com (Philip
Yzarn de Louraille) writes:
||>In article <1991Jun25.190902.4070 at shark.uucp>
qiangli at gauss.casr.fau.edu (Charlie Li) writes:
|>>In case a user forgot his password, how can "root" help on this?
|>vipw? How
|>>to make the new password field entry?
|>>
|>>I know at least I can removeuser and then adduser back on, but seems
|>not
|>>the best way to do it.
|>>
|>>Thank you for your advice.
|>>
|>>Charlie Li
|>
|>Delete all the characters found between the first two ":" in the
|>etc/passwd
|>Then make a passwd for your user, then tell him/her what it is, then
|>tell that person to change it.
|>-- 
|>  Philip Yzarn de Louraille                 Internet:
|>yzarn at chevron.com
|>  Research Support Division                 Unix & Open Systems
|>  Chevron Information & Technology Co.      Tel: (213) 694-9232
|>  P.O. Box 446, La Habra, CA 90633-0446     Fax: (213) 694-7709
|>


Better yet, as root just
# passwd username

This will change the password for that user.

You don't need to delete anything from /etc/passwd.

*************************************************************
Chad Leigh 
Brigham Young University / on leave from DEC
chad at yvax.byu.edu /  chad at norge.enet.dec.com
*************************************************************



More information about the Comp.unix.ultrix mailing list