Ubuntu Hardy and NIS Server

Hi,

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.

/etc/yp.conf
ypserver 127.0.0.1

/etc/default/nis
NISSERVER = master
NISCLIENT = false

/etc/ypserv.securenets
# This line gives access to everybody. PLEASE ADJUST! Adjusted! ;-)
255.255.255.0 192.168.1.0

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

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.