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