home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6666 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!ux1!fcom.cc.utah.edu!leopard.east-slc.edu!efros
  3. From: efros@leopard.east-slc.edu (Alyosha Efros)
  4. Subject: Re: managing passwd on two systems
  5. Message-ID: <1992Dec16.032016.16200@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: East High School, Utah
  8. X-Newsreader: TIN [version 1.1 PL7]
  9. References: <1992Dec5.235203.16155@fcom.cc.utah.edu>
  10. Date: Wed, 16 Dec 92 03:20:16 GMT
  11. Lines: 25
  12.  
  13. Thanks to everyone who answered my original question.  Most responces
  14. suggest that I should use NIS (Yellow Pages in my case) to get the job
  15. done. I installed YP on both machines one acting as a server, the other as
  16. a slave.  Everything works fine if I don't touch the passwords. But here
  17. is my problem:
  18.   First, I installed YP by copying /etc/passwd to /var/yp/src/passwd,
  19. making passwd on yp, and cleaning up /etc/passwd file from any user
  20. entries. Then I aliased passwd to yppasswd and everything was fine until
  21. my teacher decided to create a new account. It appeared that yppasswd
  22. ALWAYS asked for the old password even on the brand new account.  So this
  23. didn't work...
  24.   Second, somebody suggested to me to link /etc/passwd and
  25. /var/yp/scr/passwd.  The hard link didn't work because they are on
  26. different devices so I did a soft link.  But this doesn't work either
  27. because to set up an account one writes to /etc/passwd and to change a
  28. password with yppasswd one uses /var/yp/src/passwd... So, what do I do?  
  29.  
  30. Thanks in advance,
  31. -Alyosha
  32. ==========
  33. Alyosha (Alexei) Efros Jr. (12th grade!)    efros@leopard.east-slc.edu
  34. System Manager & Computer Club President    efros@peruvian.utah.edu
  35. East High School, Salt Lake City, Utah        (801) 272-5948
  36.     "Don't let school interfere with your education"
  37.  
  38.