5.客户机测试 只能是linux才能加入linuxserver 的域中
添加到 ypbind
Setup


6.填写NIS server的ip地址

7.Server 新建一个用户并更新
[root@localhost ZZDX]# useradd test1
[root@localhost ZZDX]# passwd test1
[root@localhost yp]# make
8.客户机上就可以测试了
Could not chdir to home directory /home/test1: No such file or directory
/usr/bin/xauth: error in locking authority file /home/test1/.Xauthority
-bash-3.2$
提示有错误
9.server上test1没有家目录报错,在server上做如下设置。
在服务器端配置NFS服务器
[root@localhost yp]# vim /etc/exports
/home *(rw,sync)
[root@localhost yp]# service nfs start
[root@localhost ~]# chkconfig nfs on
[root@localhost yp]# exportfs -rv
exporting *:/home
