Article View: comp.sys.sequent
Article #830Re: passwd hashing
From: Jef Poskanzer
Date: Mon, 01 May 1989 09:43
Date: Mon, 01 May 1989 09:43
23 lines
1650 bytes
1650 bytes
My thanks to all who replied. The correct solution was to put the
"+::0:0:::" line near the beginning of /etc/passwd, instead of its
usual place at the end.
What apparently happens is: a yp-linked program reads /etc/passwd as
far as the + line, then asks ypbind for the info; ypbind asks ypserv,
which happens to be running on the same machine; ypserv looks it up
in the dbm database; and the program that built the dbm database ignored
the + line.
Interestingly, Sequent's version of finger seems to have a bug that
prevents "finger -m user" from taking advantage of the speedup. I got
mail from phils@sequent saying that finger loops through every passwd
entry, so yp wouldn't help much; I replied to him that finger -m does
no such thing, but he insisted that it does. Well, I believe him now.
After getting yp working (as verified by huge speedups in login, ls -l,
etc.), finger -m was still slug-like. But when I brought over the latest
BSD version and compiled it up (no errors), it was nice and fast.
---
Jef
Jef Poskanzer jef@helios.ee.lbl.gov ...well!pokey
"Mistakes were made."
Technical Details
Message-ID:
<2523@helios.ee.lbl.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!ucsd!helios.ee.lbl.gov!ace.ee.lbl.gov!jefReferences:
<2470@helios.ee.lbl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!ucsd!helios.ee.lbl.gov!ace.ee.lbl.gov!jef From: jef@ace.ee.lbl.gov (Jef Poskanzer) Newsgroups: comp.sys.sequent Subject: Re: passwd hashing Message-ID: <2523@helios.ee.lbl.gov> Date: 1 May 89 09:43:55 GMT References: <2470@helios.ee.lbl.gov> Sender: usenet@helios.ee.lbl.gov Reply-To: Jef Poskanzer <jef@helios.ee.lbl.gov> Organization: Paratheo-Anametamystikhood Of Eris Esoteric, Ada Lovelace Cabal Lines: 23