Ubuntu搭建nis服务器(包括主、从及客户端设置):
redhat设置nis master相关固定端口:
# vi /etc/sysconfig/network
YPSERV_ARGS="-p 650"
YPXFRD_ARGS="-p 651"
:wq
# service network restart
# service ypserv restart
# vi /etc/sysconfig/yppasswdd
YPPASSWDD_ARGS="--port 652"
:wq
# /etc/init.d/yppasswdd restart
# rpcinfo -p (查看端口情况)