服务器端:
1。修改/etc/xinetd.d目录下rsh文件和rlogin文件,将disable改成no
2。修改/etc/securetty文件,增加rsh、rlogin、rexec、rcp四行记录,注意,是四行
3。增加/root/.rhosts文件,增加客户端主机名记录,例如:
yblx4
localhost
4。编辑/etc/hosts文件,增加客户端主机名与IP对应关系,例如:
192.168.196.134 yblx4
127.0.0.1 localhost.localdomain localhost
5。编辑/etc/hosts.equiv文件,增加客户端主机名记录,例如:
yblx4
localhost
6。service xinetd restart
Wednesday, September 13, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment