Linux.ChinaUnix.net
ChinaUnix | Linux首页 | 新闻 | 博客 | 文章 | 专栏 | 新手 | 方案 | 图书 | 下载 | 人才 | 手册 | wiki | 搜索     
Linux论坛
  会员: 密码: 免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


NIS问题

首页 » CU论坛 » Linux » 汇总贴列表 » 网络问题 »  
[打印] [订阅] [收藏] [推荐给朋友] [本帖文本页]
shineblade
新手




UID:637233
注册:2007-11-3
最后登录: 2008-06-14
帖子:1
精华:0

可用积分:1
信誉积分:0
专家积分:0 (本版)

状态:...离线...

[资料] [站内短信] [Blog]


顶部
1楼 发表于 2008-5-18 00:33 
我的是RHEL 4 做的NIS


NIS 客户端运行yppasswd提示
yppasswd:yppasswdd not running on NIS master host ("lwx_server.com.cn")


请问怎么解决

ypserv.conf


# ypserv.conf   In this file you can set certain options for the NIS server,
#               and you can deny or restrict access to certain maps based
#               on the originating host.
#
#               See ypserv.conf(5) for a description of the syntax.
#

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

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

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

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

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

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

# Host                     : Domain  : Map              : Security
#
# *                        : *       : passwd.byname    : port
# *                        : *       : passwd.byuid     : port

# Not everybody should see the shadow passwords, not secure, since
# under MSDOG everbody is root and can access ports < 1024 !!!
*                          : *       : shadow.byname    : port
*                          : *       : passwd.adjunct.byname : port

# If you comment out the next rule, ypserv and rpc.ypxfrd will
# look for YP_SECURE and YP_AUTHDES in the maps. This will make
# the security check a little bit slower, but you only have to
# change the keys on the master server, not the configuration files
# on each NIS server.
# If you have maps with YP_SECURE or YP_AUTHDES, you should create
# a rule for them above, that's much faster.
# *                        : *       : *                : none
127.0.0.0/255.255.255.0
192.168.2.0/255.255.255.0                  : *       : *                : none



[root@lwx_server ~]# rpcinfo -p localh
   program vers proto   port
    100000    2   tcp    111  portmapp
    100000    2   udp    111  portmapp
    100024    1   udp    725  status
    100024    1   tcp    728  status
    100004    2   udp    895  ypserv
    100004    1   udp    895  ypserv
    100004    2   tcp    898  ypserv
    100004    1   tcp    898  ypserv
    100009    1   udp    906  yppasswd
    100011    1   udp    667  rquotad
    100011    2   udp    667  rquotad
    100011    1   tcp    670  rquotad
    100011    2   tcp    670  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32770  nlockmgr
    100021    3   udp  32770  nlockmgr
    100021    4   udp  32770  nlockmgr
    100021    1   tcp  32768  nlockmgr
    100021    3   tcp  32768  nlockmgr
    100021    4   tcp  32768  nlockmgr
    100005    1   udp    692  mountd
    100005    1   tcp    695  mountd
    100005    2   udp    692  mountd
    100005    2   tcp    695  mountd
    100005    3   udp    692  mountd
    100005    3   tcp    695  mountd



yppasswdd 有启动
[root@lwx_server ~]# ps -aux | grep yppasswd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root      3273  0.0  0.1  3632  412 ?        S    22:29   0:00 rpc.yppasswdd
root      3666  0.0  0.2  5116  684 pts/0    S+   22:53   0:00 grep yppasswd

客户端能登陆进去~~但运行yppasswd 就提示
yppasswd:yppasswdd not running on NIS master host ("lwx_server.com.cn")


请问有人解决吗

~



您对本贴的看法:鲜花[0] 臭蛋[0]
CU可用积分兑换Linux/Unix精品图书 |《Ubuntu标准教程》书评获奖名单公布
notnumb   帅哥
风云使者



UID:425243
注册:2006-6-1
最后登录: 2008-07-09
帖子:488
精华:0

可用积分:563
信誉积分:100
专家积分:0 (本版)

状态:...在线...

[资料] [站内短信] [Blog]


顶部
2楼 发表于 2008-5-20 11:57 
是不是客户机要装 yp-tools 包



您对本贴的看法:鲜花[0] 臭蛋[0]
CU可用积分兑换Linux/Unix精品图书 |《Ubuntu标准教程》书评获奖名单公布

首页 » CU论坛 » Linux » 汇总贴列表 » 网络问题 »

 


Copyright © 2001-2008 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - Linux时代 - Archiver - WAP - TOP

Processed in 0.051893 second(s), 5 queries , Gzip enabled