Link to home
Start Free TrialLog in
Avatar of HermG
HermG

asked on

Trying to rsh into Linux 9.0

Already setup ~/.rhosts and /etc/hosts.equiv (reduedent but what the heck)  and disabled iptables.  Still getting connection refused.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HermG
HermG

ASKER

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.  :-)
> 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'