home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!lucille.cs.ubc.ca!not-for-mail
- From: samuel@cs.ubc.ca (Stephen Samuel)
- Newsgroups: comp.unix.admin
- Subject: Re: managing passwd on two systems
- Date: 17 Dec 1992 19:12:17 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Lines: 19
- Message-ID: <1grfihINN675@lucille.cs.ubc.ca>
- References: <1992Dec5.235203.16155@fcom.cc.utah.edu> <1992Dec16.032016.16200@fcom.cc.utah.edu>
- NNTP-Posting-Host: lucille.cs.ubc.ca
-
- efros@leopard.east-slc.edu (Alyosha Efros) writes:
-
- > First, I installed YP by copying /etc/passwd to /var/yp/src/passwd,
- >making passwd on yp, and cleaning up /etc/passwd file from any user
- >entries. Then I aliased passwd to yppasswd and everything was fine until
- >my teacher decided to create a new account. It appeared that yppasswd
- >ALWAYS asked for the old password even on the brand new account. So this
- >didn't work...
- Well, there are a couple of trivial answers:
- 1) copy the password field for an account for which you know the
- the password into the password entry for the new account, then, you
- know the password when yppasswd prompts you. (there are other solutions..
-
- 2)A slightly better way is to use the crypt function in a program to creat a
- password entry for the new account one-shot.
- --
- --
- Stephen Samuel (604)822-9248 samuel@cs.ubc.ca
- The first prerequisite to winning is playing the game.
-