您的位置:首页 > 运维架构 > Linux

How to configure rsh on redhat Linux

2010-02-02 18:25 197 查看
Please follow up steps below to configure your rsh on the Red Hat Linux:

Install rpm package rsh-server

chkconfig --list | grep rsh. if it's off, turn it on by "chkconfig rsh on"

chkconfig --list | grep rlogin, if it's off turn it on

chkconfig --list | grep rexec, if it's off turn it on

restart xinetd service

service xinetd restart

echo + + > /root/.rhosts

echo rsh >> /etc/securetty

edit file /etc/pam.d/rsh, add "promiscuous" like below:

auth required pam_rhosts_auth.so promiscuous

Now, your rsh is configured successfully.

Thanks.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: