LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Closed Thread
 
Search this Thread
Old 10-21-2008, 11:30 PM   #1
cheerful
Member
 
Registered: Jul 2007
Posts: 36

Rep: Reputation: 15
How can I enable rsh server


FC6

I've installed xinetd and rsh-server, and enabled rlogin and rsh in xinetd.d.

However, when I try to use rlogin to connect to the server, I got "no route to host" while ssh will work fine.

What else do I need to change in order to get rlogin/rsh working?

Thanks!
 
Old 10-22-2008, 01:50 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 4&5, Fedora 10, CentOS 5.4, IPCop
Posts: 569

Rep: Reputation: 55
Firstly, is there a good reason to use rsh instead of ssh? I've seen plenty of posts burning the OP for not using ssh based tools, so I won't do the same here, but I would be interested to know why you want to use rsh instead of ssh.

Next, it sounds like a firewall issue to me. Do you have iptables running? If so, you'll need to allow rsh traffic through it.

Hear from you soon....
 
1 members found this post helpful.
Old 10-22-2008, 08:16 PM   #3
cheerful
Member
 
Registered: Jul 2007
Posts: 36

Original Poster
Rep: Reputation: 15
It's on a cluster and some arcade program requires it.

It's iptables. Thanks!
 
Old 10-22-2008, 08:24 PM   #4
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 4&5, Fedora 10, CentOS 5.4, IPCop
Posts: 569

Rep: Reputation: 55
Then you'll need port 514 open to allow rsh through the firewall. Use the GUI network/firewall tools to open that port and see how you get on.
 
Old 10-14-2012, 02:59 PM   #5
paz9
LQ Newbie
 
Registered: Jan 2009
Location: Philadelphia, PA
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0
Talking All of the above + xinetd conf

FYI, I did all of the above and then some, no luck.
I am running CentOS 6.3 with xinetd, so rsh is a subservice of that.

Here is what I did that finally worked:

vi /etc/xinetd.conf

# Comment out the lines that say "enabled" like this:
# enabled = rsh

# Uncomment and add any junk after "disabled":
disabled = anyjunk

:x

/etc/init.d/xinetd restart
rsh myunsecuresystem pwd


I still cannot rsh localhost, but who cares?
 
Old 10-14-2012, 04:09 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,304
Blog Entries: 54

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
Please don't necro-post unless your reply significantly helps enlighten people wrt the threads topic. Do not necro-post to tack on your own questions: create a new thread instead. Closed as dupe of other (necro-)post http://www.linuxquestions.org/questi...2/#post4805593
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable rsh service in linux? mathavi Linux - Newbie 3 10-14-2012 02:57 PM
Enable rsh dvong3 Linux - Networking 4 01-19-2006 12:27 AM
howto enable rsh daemon without serviceconf? dogma Linux - Newbie 1 09-18-2003 05:08 PM
howto enable rsh in users a/c ? dogma Linux - Newbie 1 07-18-2003 02:58 PM
how do i enable rsh? srkherad Linux - General 1 11-01-2002 08:48 AM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration