论坛风格切换切换到宽版
 
发帖
1937
C币
-140796
威望
351
贡献值
1
银元
-1
铜钱
4356
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我的是RHEL 4. 做的NIS              乙肝


NI.S 客户端运行yppasswd提示.
y.ppasswd:yppasswdd not runnin.g on NIS master host ("lwx_server.com.cn").


请问怎么解决

ypserv.conf


# ypserv.conf   In. this file you c.an set .certain options for the NIS server,.
#.               and you can deny or restrict access t.o certain maps based电影
#               on the ori.gin.ating host.              乙肝
#
#.               See ypserv.conf(5) for a description of the syn.tax.电影
#

# Some options for yps.erv. This things .are all not needed, if          婚庆
# you have a Linux ne.t.--- 印刷

# Should we .do DNS look.ups for hosts not found in the hosts table ?<性病>
# Th.is option is ignored in the mom.ent..
dns: no

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

# Should we register .ypserv with SLP .?             汽车
slp: no
# After how many seconds w.e should re-reg.ister ypserv with SLP ?[成人用品]
sl.p_timeout: 3600           鲜花

# xfr requests are only allowed fro.m port.s < 1024          婚庆
xfr_che.ck_port: yes<性病>

# The following, when uncommente.d,  will give you shad.ow like passwords..
# Note that it will not work if yo.u have slav.e NIS servers in your.
# netwo.rk that .do not run the same server as you..

# Host                     : Domain  : Map.              : Secu.rity--- 印刷
#
# *                        : *  .     :. passwd.byname    : port--------------彩票
# *                 .       : *       : .passwd.byuid     : port--- 印刷

# Not ever.ybody should see the shadow .passwords, not secure, since虚拟主机
# under MSDOG everb.ody is root and can access ports < 1024 .!!!            杀毒
*     .             .        : *       : shadow.byname    : port(        游戏          )
*   .                       : *       : passwd..adjunct.byname : port           建材

# If yo.u comment ou.t 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 onl.y have to电影
# change the ke.ys 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 f.or them above, that's muc.h faster.[成人用品]
# *                       .. : *       : *                : none学习
127.0.0.0/255..255.255.0.
192.16.8.2.0/255.255.255..0                  : *       : *   .             : none学习



[root@lwx_serv..er ~]# rpcinfo -p localh            杀毒
   pr.ogram vers proto .  port教育
    100000    2   tcp.    111  portmap.p--------------彩票
    100000    2   udp    11.1.  portmapp虚拟主机
    100024.    1.   udp    725  status.
    100024    .1   tcp    728  stat.us           建材
    100004    2  . udp    895  ypser.v    美容
    100004    .1   udp    895  .ypserv电影
    100004..    2   tcp    898  ypserv           鲜花
    100004    1 .  tcp    898  .ypserv--------------彩票
    100009    1   u.dp.    906  yppasswd.
.   100011    1   udp.    667  rquotad.
    100011  .  2   udp    667  rquota.d    美容
    100011    1   tcp    670  rq.uo.tad教育
    100011    2   tcp   . 670  rq.uotad虚拟主机
    100003    2   udp   2.04.9  nfs<性病>
    100003    3   udp  . 2049  n.fs.
    100003    4   .udp   2049.  nfs           建材
    100.003 .   2   tcp   2049  nfs学习
  .  100003    3 .  tcp   2049  nfs学习
    1000.03    4   tcp   2049  .nfs.
    10002.1    1   udp  3277.0  nlockmgr            杀毒
    100021   . 3   udp.  32770  nlockmgr学习
    100021    4   ud.p  32770  nloc.kmgr.
    100021    1   tcp  327.68.  nlockmgr.
    100021    3   tcp . 32768 . nlockmgr             电子
    100021    4   tcp.  327.68  nlockmgr           建材
  .  100005    1   .udp    692  mountd.
    1000.05 .   1   tcp    695  mountd(        游戏          )
    100005    2   u.dp    692  mo.untd域名
    1000.05  .  2   tcp    695  mountd.
    100005    3   .u.dp    692  mountd学习
    100005    3   tc.p.    695  mountd(        游戏          )



yppasswdd 有启动
[root@lwx_server ~]# p.s -aux | grep yppass.wd电脑
Warni.ng: bad syntax, perhaps a bogus '-'? See /us.r/share/doc/procps-3.2.3/FAQ.虚拟主机
root      3273  0..0  0.1  3632  412 ? .       .S    22:29   0:00 rpc.yppasswdd    外汇
root      3.666  0.0  0.2  5116  .684 pts/0    S+   22:53   0:00 grep yppassw.d.

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


请问有人解决吗

~

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线lilingdong.
发帖
1975
C币
-132200
威望
375
贡献值
1
银元
-1
铜钱
4481
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
是不是客户机要装 yp-tools 包
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个