- 论坛徽章:
- 0
|
我的是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")
请问有人解决吗
~ |
|