Solved

Trying to rsh into Linux 9.0

Posted on 2004-09-13
3
310 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 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

11 Experts available now in Live!

Get 1:1 Help Now