亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: nis 數(shù)據(jù)庫建立不了 [打印本頁]

作者: fatbird00055    時間: 2010-02-12 15:45
標題: nis 數(shù)據(jù)庫建立不了
本帖最后由 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
復制代碼

作者: fatbird00055    時間: 2010-02-12 20:56
我明白了,要按ctrl+D 郁悶。∽约航鉀Q
作者: chenyx    時間: 2010-02-12 21:13
When you are done with the list, type a <control D>.

呵呵,提示很明白
作者: blueswxs    時間: 2010-02-16 12:34
呵呵,提示很明白
chenyx 發(fā)表于 2010-02-12 21:13


英語閱讀  一定要積累呀。
作者: nagaregawa    時間: 2010-02-19 13:04
回復 1# fatbird00055


    應該運行一下 domainname=dmz




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2