1)[root@node01 ~]# yum install rsh-server
2)
[root@node01 ~]# chkconfig rsh on
[root@node01 ~]# chkconfig rexec on
[root@node01 ~]# chkconfig rlogin on
[root@node01 ~]# chkconfig xinetd on
[root@node01 ~]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
3)
Edit your /etc/securetty file. Append the following
rsh
rexec
rlogin
4)Create .rhosts file to add users/servers allowed
5)
cat /etc/pam.d/rsh ,should have pam_rhosts_auth.so as promiscuous
auth required pam_rhosts_auth.so promiscuous hosts_equiv_rootok
2)
[root@node01 ~]# chkconfig rsh on
[root@node01 ~]# chkconfig rexec on
[root@node01 ~]# chkconfig rlogin on
[root@node01 ~]# chkconfig xinetd on
[root@node01 ~]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
3)
Edit your /etc/securetty file. Append the following
rsh
rexec
rlogin
4)Create .rhosts file to add users/servers allowed
5)
cat /etc/pam.d/rsh ,should have pam_rhosts_auth.so as promiscuous
auth required pam_rhosts_auth.so promiscuous hosts_equiv_rootok
No comments:
Post a Comment