|
Extraordin-Air Team Final Project
|
|
|
Project #29
Enable NIS on air.nesser.com
NOTE See class notes for complete instructions
1) Start needed support daemons
a) need to start time and time-udp for other projects
change "disable " line in /etc/xinetd.d/time to no
change "disable " line in /etc/xinetd.d/time-udp to no
b) type "service xinetd restart ¨, confirm that everything is working
c) if "portmap" is not running, type "service portmap start ", confirm that everything is working
d) Add S13portmap to /etc/rc3.d & /rc5.d
"ln -s ../init.d/portmap S13portmap "
2) Check that the /var/yp directory exists
3) Edit /etc/sysconfig/network to add
NISDOMAIN=air.nesser
4) type "domainname air.nesser "
5) type "service ypserv start ", confirm that everything's okay
6) type "/usr/lib/yp/ypinit -m ", confirm that everything's okay
7) create nis directory in /etc
8) copy passwd, shadow, group & gshadow to /etc/nis
9) edit /var/yp/Makefile as follows
a) change the variable YPPWDDIR to /etc/nis
b) check that the "all" target includes at least - passwd, shadow and group
10) type "make " while in the /var/yp directory, confirm that everything's okay
11) Check that a "/var/yp/air.nesser " directory exists
12) edit the /etc/yp.conf file to add
"domain air.nesser server air.nesser.com "
13) type "service ypbind start ", confirm that everything's okay
14) type "ypcat passwd ", confirm that passwd file is listed okay
15) edit /etc/nsswitch.conf as follows
change the passwd:, shadow: & group: lines to "nis files " from "files nisplus "
|
|
|
|