Solved

rsh on RH 7.1

Posted on 2002-05-18
5
324 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
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS CLI - Instances, Volumes & Tagging 2 75
Linux  Script File Attributes 5 53
CentOS/RHEL 7 Linux maillog worldwide readable 2 42
Linux VM 6 49
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now