ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 在redhat上使用rsh

在redhat上使用rsh

原创 Linux操作系统 作者:hnroger 时间:2009-06-19 08:45:26 0 删除 编辑

增加如下行到/etc/securetty

rexec
rsh
rlogin
pts/0
pts/1

打开服务Activate the services by issuing

chkconfig rexec on
chkconfig rlogin on
chkconfig rsh on

增加信任的主机名到/root/.rhosts

改变文件属性为600

chmod 600 /root/.rhosts

增加主机名与/IP到/etc/hosts

重启inetd服务

service inetd restart

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2073/viewspace-1023279/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-03

  • 博文量
    24
  • 访问量
    93021