Ubuntu Hardy and NIS Server


here is a walkthrough to set up a NIS server under Ubuntu Hardy, because the standard configuration is only for clients.

apt-get install nis
NIS domain: _be creative_ :-)

Then wait till the ypbind search is over (it tries very hard to find a server…) otherwise the package is not completely installed.

In the mean time, you can prepare the server.




NISSERVER = master


`# This line gives access to everybody. PLEASE ADJUST! Adjusted! ;-)`

When the installation is complete, you can proceed with the following steps:

/usr/lib/yp/ypinit -m
/etc/init.d/nis restart

Congratulations, your NIS server is now running! :-)

Bye, Sven