home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6703 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.4 KB

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