Open main menu

CDOT Wiki β

Changes

OPS335 NIS Lab

6 bytes added, 00:32, 11 March 2012
PART B: Setting up your NIS Server
yum install ypserv ypbind
*Add the following line to the bottom of the file /etc/sysconfig/network
NISDOMAIN="example<learn-id>.org"
YPSERV_ARGS="-p 783"
*Edit the file /etc/yp.conf and set up your domain:
domain example<learn-id>.org server 127.0.0.1
*Edit the file /etc/nsswitch.conf and add "nis" to three lines:
passwd: files nis
1
edit