Sample Header Ad - 728x90

How enable non-privileged user to connect using rsh?

1 vote
1 answer
1307 views
I have two hosts with Red Hat 7.4 , HostA and HostB. The rsh-server and rsh packages was installed in both. At both hosts, the rsh deamon was activated, the commands rsh,rlogin,rexec was added to /etc/securetty, at /etc/hosts.equiv the HostA and HostB was added. From **hostA**, with root, when I run rsh hostb, connects successfully without ask password. From **hostA**, with any other user, give the error : rcmd: socket: Permission denied. From **hostB**, with root, when I run rsh hosta, connects successfully without ask password. From **hostB**, with any other user, connects successfully without ask password. I already try add the set bit : chmod +a $(which rsh) , but have no effect. The SELINUX is disabled on both hosts. The firewall is disabled on both hosts.
Asked by ceinmart (511 rep)
Feb 26, 2018, 03:02 PM
Last activity: Feb 26, 2018, 05:05 PM