tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Jonathan Rozes" <jrozes () gumbo ! tcs ! tufts ! edu>
To: tru64-unix-managers
Subject: SUMMARY: NIS painfully slow on OSF/1 3.0
Date: Mon, 27 Nov 1995 21:09:35 +0000	[thread overview]
Message-ID: <96075325006798.tru64-unix-managers.marc@archive.invalid> (raw)

On Tue Nov 14, 4:40pm, I said:

> We've attempted to install a NIS master server on an Alpha 3000/800 running
> OSF/1 3.0, but had to back down due to extreme sluggishness.
>
> We followed all of the intructions in the Network Configuration Guide, except
> that we only want to deal with the passwd, group, and hosts databases. The
> Alpha is the master server; there are no slave servers or clients (there will
> be clients once the the server actually works).
>
> Having configured everything correctly, I reboot, login, and as a test, try
> to change my password with yppasswd (we are running rpc.yppasswdd). I get
> the "Changing NIS password" message and then it hangs for a good five minutes
> before asking me my old password. Ditto when I try to su.

One thing is that if there are no slave servers, the ypservers map should be
empty (ours listed the master as a slave server). It still must be created,
only without any entries, like so:

	cd /var/yp
	./makedbm - <domainname>/ypservers
	<ctrl-d>

Jon Buchanan <Jonathan.Buchanan@ska.com> suggested, among other things:

	Make sure the hashed password files /etc/passwd.dir and
	/etc/passwd.pag do not exist or NIS gets confused.  Delete
	them if they are present (you really don't need them - honest!)
	and don't ever remake them when asked by the adduser utility.

The combination of these two things appears to have fixed our problems.

However, there is a remaining issue with yppasswdd, which is manifested in
rpc.yppasswdd writing the DBM passwd maps mode 666 (group and world writable).
We have filed a bug report with DEC and are awaiting a fix. If you run the
yppasswd server and don't have this problem (with OSF/1 3.0) I'd be very
interested in hearing from you!

Thanks to all who replied...
jonathan

-- 
+++ Jonathan Rozes, Unix Systems Administrator, Tufts University
++  jrozes@tcs.tufts.edu, http://gumbo.tcs.tufts.edu/~jrozes/
+   Mind Over Liver: The liver probably contains 100 million cells, but
    1,000 livers do not add up to a rich inner life. <GDF:SA 09/92>

                 reply	other threads:[~1995-11-27 21:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox