- 论坛徽章:
- 0
|
已解决。是SUSE端的问题,呵呵..
SUSE端,需要配置如下:
suse 下配置RSH
1、安装RSH的服务器
2、修改/etc/hosts.equiv
sles10:/etc/xinetd.d # more /etc/hosts.equiv
#
# hosts.equiv This file describes the names of the hosts which are
# to be considered "equivalent", i.e. which are to be
# trusted enough for allowing rsh(1) commands.
#
# hostname
sles10
sles10:/etc/xinetd.d #
3、修改/etc/xinetd.d/rsh,rlogin,rexec文件中的disable=yes为no
4、rcxinetd restart
5、完成设置。
允许root用户使用rsh:
sles10:/etc/pam.d # more rsh
#%PAM-1.0
auth required pam_rhosts_auth.so
#auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
how to config rsh in suse 9
1、install rsh server
2、chang /etc/xinetd.d/rsh,rlogin,rexec file,followe :
chang disable=yes to disbale = no
3、append rsh,rlogin,rexec to /etc/securetty
4、append hostname user to $userhome/.rhosts
5、rcxinetd restart
6、config fished. |
|