Solved

Trying to rsh into Linux 9.0

Posted on 2004-09-13
3
326 Views
Last Modified: 2008-02-01
Already setup ~/.rhosts and /etc/hosts.equiv (reduedent but what the heck)  and disabled iptables.  Still getting connection refused.
0
Comment
Question by:HermG
[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
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 60 total points
ID: 12044261
Is the rsh/rlogin server package installed (rsh-server on RedHat or similar)?

Is rsh enabled? On RedHat or similar you can do `chkconfig rsh on'. On other systems you may need to edit the inetd/xinetd config files.
0
 

Author Comment

by:HermG
ID: 12044345
Thanks for the quick response!  However...

1)  # rpm -qa | grep rsh
rsh-0.17-14

2)  Tried chkconfig rsh on... didn't help

3)  Previously created xinetd.d/rsh with the following:

service rsh
{
        disable = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/bin/rsh
        server_args     = -l -a
        log_on_failure  += USERID
}


The result in /var/log/messages when I restarted xinitd was:

Sep 13 10:19:34 rtobias-linux xinetd[15427]: Starting reconfiguration
Sep 13 10:19:34 rtobias-linux xinetd[15427]: Server /usr/kerberos/sbin/ftpd is not executable [line=10]
Sep 13 10:19:34 rtobias-linux xinetd[15427]: Error parsing attribute server - DISABLING SERVICE [line=10]
Sep 13 10:19:34 rtobias-linux xinetd[15427]: Must specify a server in ftp
Sep 13 10:19:34 rtobias-linux xinetd[15427]: readjusting service sgi_fam
Sep 13 10:19:34 rtobias-linux xinetd[15427]: readjusting service telnet
Sep 13 10:19:34 rtobias-linux xinetd[15427]: bind failed (Address already in use (errno = 98)). service = rsh
Sep 13 10:19:34 rtobias-linux xinetd[15427]: Reconfigured: new=0 old=2 dropped=0 (services)
Sep 13 10:19:34 rtobias-linux xinetd: xinetd -HUP succeeded


Guess I gotta boost the value on this thing a bit.  :-)
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12044692
> 1)  # rpm -qa | grep rsh
> rsh-0.17-14

Says that you don't have the server componets for rsh/rlogin/rcp installed. All you have at present is the client tools.

You need to delete xinetd.d/rsh, then install rsh-server from your distro CD's, and then do 'chkconfig rsh on'
0

Featured Post

Technology Partners: 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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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