Discussion Locked

Linux 7.1 and rcp, rsh

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am having a problem with RH 7.1 refusing the connection when I try and rcp or rsh to it. I have done this before with 5.2 6.2 and 7.0 RH. I know that I have the hosts hosts.equiv and .rhosts set up right but it appears RH has done some great and wonderful things in this version like installing a firewall which I have supposedly disabled. (Every time I go into the setup it is suspicously set back on high). And they disabled PAM.

I have gone through this:
http://www.redhat.com/support/manuals/RHL-7.1-Manual/ref-guide/s1-pam-rexec.html
And it didn't have any effect

6 replies

by kevin anderson

I haven't installed 7.1 yet, but I would suggest that you try flushing both IPChains, and IP Tables (the new firewall code for the 2.4 kernel) and then try it.

If this fixes your problem, then at least you know where the problem lies. From there, check if it's Chains or Tables, and then edit as neccessary.

It's obvious, I know, but is RSH running on the machine? I assume the firewall will kill it. If yours shows the firewall running, then it's worth checking.

Kev.

by hanes_ray

Not real familiar with chains can you give me some info about where to find the chains for the firewall.

by marshallkeithusa

Red Hat 7.1 has all of that disabled by
default. If you go to /etc/xinetd.d you will
files for each of those. You will have to
edit each one of those files and change
disable=yes to disable=no. After you have
changed the files for the services you want.

/etc/init.d/xinetd restart

Everything should work as you are use to

This discussion is closed to new replies.