We help IT Professionals succeed at work.
Get Started

Problems using rsh command remotely on RedHat Linux 2.4.7-10 Server

falklandtim asked
Last Modified: 2010-05-18
Hello everybody,

I'm wanting to use the 'rsh' command from a host to connect to a RedHat Linux 2.4.7-10 server, but I seem to have run into some problems that have stumpped me a little. The facts so far:-

I have created the username www with corresponding passwords on both host and server.

I have added the 'host' computers ip address and hostname to the /etc/hosts file and created the /etc/hosts.equiv file containing the 'hosts' hostname and username on the redhat server.

On the server I have edited the /etc/xinetd.d/rsh file to read 'disable = no' and then restarted the xinetd daemon.

After editing the /etc/hosts.equiv file to allow user www to connect from localhost on the server I was able to execute the following command to ensure that rsh/rlogin was working, 'rsh localhost ls'.

I still am unable to execute the command 'rsh serverIpaddress ls' from the host computer. It just times out, no access denied is returned and no logs are entered in the servers /var/log/messages file. Both the host and server are on the same logical and physical networks and I am able to connect from host to server via telnet, ftp and ssh.

I don’t usually work with Linux machines, all of my main servers are running Solaris 8 & 9. I know that the way I have configured the /etc/hosts and /etc/hosts.equiv files on the server are correct due to testing it on two Solaris machines.

Is there any other services or security settings I need to alter to enable the server to except the rsh connection???

Any help at this stage would be greatly appreciated.


Watch Question
This problem has been solved!
Unlock 2 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE