On Wed, Apr 11, 2001 at 11:33:00PM -0700, Tim Hanson wrote:
I think I set up yp server and client up correctly. I haven't hooked up any other computers to this server yet.
I followed the instructions in /usr/share/doc/ypserv. I edited rc.config and added the entries, set the client to localhost, ran "make" in /var/yp, edited crontab. Then I inserted the line "usr/sbin/rpc.yppasswdd" in /etc/init.d/boot.local.
On boot yppasswdd came up as a failed service. After login, the daemon ran fine. Login was normal.
Where should I load rpc.yppasswdd? Also, when I figure that one out, how do I test the server and client?
Well, you certainly shouldn't do it in /etc/init.d/boot.local ;-) The boot.local script is executed before any of the network services are started (like the portmapper). First of all, have a check through /etc/rc.config and related files (or have a look in YaST) to see if you can see a variable related to starting the NIS server (since SuSE usually have this sort of thing all set up for you). If you can't find anything, then your best bet is to write your own init script and put it in /etc/init.d. You'll then need to link this into the rcx.d directories for all runlevel which are meant to start up with network services (3 and 5, for example). You can use the skeleton script in /etc/init.d as a template, and I think it has instructions on making the appropriate links as well. Make sure you link it in after the portmapper has started (i.e. somewhere towards the end). Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\