Centos下nis服务的搭建(2)
时间:2014-12-28 00:01 来源:linux.it.net.cn 作者:IT
2,启动ypbind来连接至nis server
1,[root@realserver1 ~]#vim /etc/nsswitch.conf
2,[root@realserver1 ~]#vim /etc/sysconfig/authconfig
3,[root@realserver1 ~]#vim /etc/pam.d/system-auth
4,[root@realserver1 ~]#vim /etc/yp.conf
设置完成后,再启动ypbind
[root@realserver1 ~]#/etc/init.d/portmap start
[root@realserver1 ~]#/etc/init.d/ypbind start
三:测试
(责任编辑:IT)
2,启动ypbind来连接至nis server
1,[root@realserver1 ~]#vim /etc/nsswitch.conf
2,[root@realserver1 ~]#vim /etc/sysconfig/authconfig
3,[root@realserver1 ~]#vim /etc/pam.d/system-auth
4,[root@realserver1 ~]#vim /etc/yp.conf
设置完成后,再启动ypbind
[root@realserver1 ~]#/etc/init.d/portmap start
[root@realserver1 ~]#/etc/init.d/ypbind start
三:测试
(责任编辑:IT) |