Solved

Trying to rsh into Linux 9.0

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 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

10 Experts available now in Live!

Get 1:1 Help Now