Article View: comp.sys.sequent
Article #824Re: passwd hashing
From: Edward Bunch
Date: Wed, 26 Apr 1989 22:37
Date: Wed, 26 Apr 1989 22:37
28 lines
1922 bytes
1922 bytes
In article <2470@helios.ee.lbl.gov> Jef Poskanzer <jef@helios.ee.lbl.gov> writes:
>I just finished helping the WELL switch from a VAX 750 to a Sequent
>Balance 8. See, the WELL's /etc/passwd has almost 3000
>entries, so the usual method of accessing it is insufficient. The simple
>linear scan normally used can take up to 10 seconds on a lightly loaded
>system.
>Anyway, Sequent assured us that we could simply install yellow pages,
>with its dbm-ized files, and all programs that ask for passwd entries
>would automatically use it.
>However, when I tested it out by fingering the last person in /etc/passwd,
>it still took 10 seconds. Same for logging in as him. It's as if nothing
>changed.
>I have no idea what could be wrong. Any clues?
Your problem is that login checks /etc/passwd first, before checking with
YP. What you need to do is create a file /etc/yppasswd for all the accounts,
except root and other admin stuff. Edit /etc/yp/Makefile so that it uses
/etc/yppasswd instead. Oh, and you'll probably have to put a magic cookie at
the tail of /etc/passwd to enable YP lookups. I could not find reference to
this in the Sequent doc's I checked but it's probably the same as Sun's.
+::0:0:::
Sorry, I have not done this myself and can't provide a patch. Our system
has only 100 or so users and login is quite fast.
Edward A. Bunch UUCP: {uunet,amdahl,sun}!fai!edb
??Fujitsu America, Inc.?? DOMAIN: edb@fai.com
??Computer Support and Administration.??Can't you hear it comming.
Technical Details
Message-ID:
<2160@fai.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!fai!edbReferences:
<2470@helios.ee.lbl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!fai!edb From: edb@fai.UUCP (Edward Bunch) Newsgroups: comp.sys.sequent Subject: Re: passwd hashing Message-ID: <2160@fai.UUCP> Date: 26 Apr 89 22:37:24 GMT References: <2470@helios.ee.lbl.gov> Reply-To: edb@fai.fai.com (Edward Bunch) Organization: Fujitsu America, Inc Lines: 28