免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2075 | 回复: 4
打印 上一主题 下一主题

nis 数据库建立不了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-12 15:45 |只看该作者 |倒序浏览
本帖最后由 fatbird00055 于 2010-02-12 15:51 编辑
  1. [root@linux1 ~]# /usr/lib/yp/ypinit -m   

  2. At this point, we have to construct a list of the hosts which will run NIS
  3. servers.  linux1 is in the list of NIS server hosts.  Please continue to add
  4. the names for the other hosts, one per line.  When you are done with the
  5. list, type a <control D>.
  6.         next host to add:  linux1
  7.         next host to add:  
复制代码
就这样不动了,停了,请问各位大侠什么情况

ypserv.conf文件
  1. [root@linux1 ~]# vim /etc/ypserv.conf  


  2. # Some options for ypserv. This things are all not needed, if
  3. # you have a Linux net.

  4. # Should we do DNS lookups for hosts not found in the hosts table ?
  5. # This option is ignored in the moment.
  6. dns: no

  7. # How many map file handles should be cached ?
  8. files: 30

  9. # Should we register ypserv with SLP ?
  10. slp: no
  11. # After how many seconds we should re-register ypserv with SLP ?
  12. slp_timeout: 3600

  13. # xfr requests are only allowed from ports < 1024
  14. xfr_check_port: yes

  15. # The following, when uncommented,  will give you shadow like passwords.
  16. # Note that it will not work if you have slave NIS servers in your
  17. # network that do not run the same server as you.

  18. # Host                     : Domain  : Map              : Security
  19. #
  20. # *                        : *       : passwd.byname    : port
  21. # *                        : *       : passwd.byuid     : port
  22. 127.0.0.1/255.255.255.0:dmz:*:none
  23. 192.168.1.3/255.255.255.0:dmz:*:none
  24. *:*:*:deny
  25. # Not everybody should see the shadow passwords, not secure, since
  26. # under MSDOG everbody is root and can access ports < 1024 !!!
  27. *                          : *       : shadow.byname    : port
  28. *                          : *       : passwd.adjunct.byname : port

  29. # If you comment out the next rule, ypserv and rpc.ypxfrd will
  30. # look for YP_SECURE and YP_AUTHDES in the maps. This will make
  31. # the security check a little bit slower, but you only have to
  32. # change the keys on the master server, not the configuration files
  33. "/etc/ypserv.conf" 51L, 1839C 已写入                           
复制代码
  1. [root@linux1 ~]# vim /etc/sysconfig/network

  2. NETWORKING=yes
  3. NETWORKING_IPV6=no
  4. HOSTNAME=linux1
  5. NISDOMAIN=dmz
复制代码

论坛徽章:
0
2 [报告]
发表于 2010-02-12 20:56 |只看该作者
我明白了,要按ctrl+D 郁闷!!自己解决

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
3 [报告]
发表于 2010-02-12 21:13 |只看该作者
When you are done with the list, type a <control D>.

呵呵,提示很明白

论坛徽章:
0
4 [报告]
发表于 2010-02-16 12:34 |只看该作者
呵呵,提示很明白
chenyx 发表于 2010-02-12 21:13


英语阅读  一定要积累呀。

招聘 : 技术支持/维
论坛徽章:
0
5 [报告]
发表于 2010-02-19 13:04 |只看该作者
回复 1# fatbird00055


    应该运行一下 domainname=dmz
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP