Solved

Trying to rsh into Linux 9.0

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

930 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

14 Experts available now in Live!

Get 1:1 Help Now