BBS水木清华站∶精华区

发信人: tlk.bbs@csie.nctu (@_@), 信区: linux 
标  题: Re: 关於NIS clients 的设定 
发信站: 交大资工凤凰城资讯站 (Tue Aug 22 04:27:59 1995) 
 
==> 在 abspi.bbs@bbs.ee.nthu.edu.tw. (absalom) 的文章中提到: 
 请问各位一个问题: 
          目前我们有4 Sun sparc 工作站,其中一个为NIS server ,the other 
 3 为NIS clients , 目前我装一PC Linux , 想加入NIS , 
     但不知我太笨还是HOW-to 写得太烂,竟装不起来? 
     Sun 中是只要修改 defaultdomain 此file 填入NIS server ,并run ypbind 
 ,Linux 中,HOW-to 说要改rc.M 中的domain name, 奇怪我都找不到从何改起 
 ,而且我也有在rc.inet2 中加入 ypbind ..... 
      但就是run 不起来,有人有此经验吗 ? 帮帮忙吧!! 
         thanx !! 
 
  edit your /etc/yp.conf 
  add  /etc/nisdomainname 
       /etc/nodename 
       /etc/ethers 
       /etc/nsswitch.conf 
       /etc/bootparams 
  add  +::0:0:::  at the last line of /etc/passwd 
  add  +:         at the last line of /etc/group 
  then 
       cd /var/yp 
       make 
 
  you can get it !! 
                                   yttsai@u810131.LI.AB.nthu.edu.tw 

BBS水木清华站∶精华区