home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6718 < prev    next >
Encoding:
Text File  |  1992-09-08  |  976 b   |  25 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!decwrl!pa.dec.com!decuac!hussar.dco.dec.com!mjr
  3. From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
  4. Subject: Re: multiple yppasswd requests corrupting NIS passwd?
  5. Message-ID: <1992Sep5.220728.23949@decuac.dec.com>
  6. Sender: news@decuac.dec.com (USENET News System)
  7. Nntp-Posting-Host: hussar.dco.dec.com
  8. Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
  9. References: <T12PBZH7@cc.swarthmore.edu>
  10. Date: Sat, 5 Sep 1992 22:07:28 GMT
  11. Lines: 12
  12.  
  13. >I looked at /var/yp/Makefile and didn't find any sort of shell-level locking
  14. >at all.
  15.  
  16.     *sigh*. You got it. ``Hesiod'' is just as bad.
  17.  
  18.     yppasswdd does use /etc/ptmp to modify the password file, and then
  19. turns around and does a system("make") *AFTER* moving /etc/ptmp to /etc/passwd
  20. In theory, then, the password file should be consistent. There's nothing in
  21. the Makefile to keep multiple "make"s from getting interleaved though. It's
  22. really quite frightful.
  23.  
  24. mjr.
  25.