From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006798.tru64-unix-managers.marc@archive.invalid> From: "Jonathan Rozes" Date: Mon, 27 Nov 1995 21:09:35 +0000 To: tru64-unix-managers Subject: SUMMARY: NIS painfully slow on OSF/1 3.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006798 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 - /ypservers Jon Buchanan 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.