Solved

rsh on RH 7.1

Posted on 2002-05-18
5
327 Views
Last Modified: 2013-12-15
i need step-by-step instructions to have rsh daemon
running on a my RH 7.1.  i also have trouble accepting
ftp and telnet connections....
0
Comment
Question by:qexp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 7020718
By "trouble accepting ftp and telnet connections" do you mean that they don't work at all? That would typically be the case if you took the default firewall when installing 7.1. The default configuration will block inbound connections to your system. You can either disable the firewall with:

# chkconfig --level 2345 ipchains off
# /etc/init.d/ipchains stop

or modify the rulesets to allow inbound telnet and FTP.

I don't know what you've installed, but you might not have the telnet-server or wu-ftp packages installed. Since you apparently want to have those and rsh available check to see if the servers are installed with:

# rpm -q telnet-server
# rpm -q wu-ftp
# rpm -q rsh-server

Next you need to enable those services, by default there'll be a line in the appropriate xinetd config file (/etc/xinetd.d/telnet, /etc/xinetd.d/wu-ftp, & /etc/xinetd.d/rsh) like:

disable = yes

That line needs to be changed to 'disable = no' or deleted and xinetd told to re-read it's config files with 'killall -USR2 xinetd'.

Then you should be able to connect to the system with telnet or FTP. How the system needs to be changed for rsh access depends on how open you need it to be. Details of how you'll be using rsh would be a help...

Note that telnet, ftp and rsh are not the safest things to enable unless every node that can reach your system is trustworthy and inside of a good firewall. That's why those things aren't usually installed or enabled. Everything that you can do with those services can also be done with ssh, which is much safer as the username/passwords aren't transmitted in the clear and available to anyone with a sniffer.
0
 

Expert Comment

by:CleanupPing
ID: 9086626
qexp:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9126937
My comment pretty much covers all of the possibilities
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 9905311
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept jlevies answer as despite thinking VERY hard, I can't think of any other possibilities (although I'm sure that there MUST be some :)   )

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

pjedmond
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question