Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!van-bc!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!lhdsy1!yzarn From: yzarn@lhdsy1.chevron.com (Philip Yzarn de Louraille) Newsgroups: comp.unix.ultrix Subject: Re: How to reset a uesr's password Message-ID: <1014@lhdsy1.chevron.com> Date: 28 Jun 91 19:43:39 GMT References: <1991Jun25.190902.4070@shark.uucp> Organization: Chevron Oil Field Research, La Habra, CA. Lines: 23 In article <1991Jun25.190902.4070@shark.uucp> qiangli@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@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