How to configure rsh on redhat Linux

Please follow up steps below to configure your rsh on the Red Hat Linux:

  1. Install rpm package rsh-server
  2. chkconfig --list | grep rsh. if it's off, turn it on by "chkconfig rsh on"
  3. chkconfig --list | grep rlogin, if it's off turn it on
  4. chkconfig --list | grep rexec, if it's off turn it on
  5. restart xinetd service
    service xinetd restart
  6. echo + + > /root/.rhosts
  7. echo rsh >> /etc/securetty
  8. edit file /etc/pam.d/rsh, add "promiscuous" like below:
    auth       required     pam_rhosts_auth.so promiscuous

Now, your rsh is configured successfully.

 

Thanks.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值