Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!hamblin.math.byu.edu!news From: chad@oscar.cs.byu.edu (Chad) Newsgroups: comp.unix.ultrix Subject: Re: How to reset a uesr's password Message-ID: <1991Jun29.171017.17847@hamblin.math.byu.edu> Date: 29 Jun 91 17:10:17 GMT References: <1991Jun25.190902.4070@shark.uucp> <1014@lhdsy1.chevron.com> Sender: news@hamblin.math.byu.edu (Usenet News) Reply-To: chad@yvax.byu.edu Organization: Brigham Young University Lines: 42 -- In article <1014@lhdsy1.chevron.com>, yzarn@lhdsy1.chevron.com (Philip Yzarn de Louraille) writes: ||>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 |> 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@yvax.byu.edu / chad@norge.enet.dec.com *************************************************************