Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, My Linux machine are not letting me do [root@na122008 ~]# rsh -l root na122001 uname -a connect to address 10.32.122.1: Connection refused Trying krb4 rsh... connect to address 10.32.122.1: ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5

    can't get rsh-l to work

    Hi,

    My Linux machine are not letting me do

    [root@na122008 ~]# rsh -l root na122001 uname -a

    connect to address 10.32.122.1: Connection refused

    Trying krb4 rsh...

    connect to address 10.32.122.1: Connection refused

    trying normal rsh (/usr/bin/rsh)

    Permission denied.



    I have mine .rhosts set as + +

    My /etc/hosts.equiv set to +

    My /etc/hosts.allows set to + +



    [root@na122001 ~]# chkconfig --list | grep rsh

    rsh: on



    I don’t know what else I am missing. Do you have any suggestion?

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Yea, use ssh.

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5
    I can't use ssh because it an automation script that requries rsh -l

    Do I need to change /etc/pam.d/rsh file?

  4. #4
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    ALright then. Does na122001 use xinetd or inetd? You have to make sure this service is running. You also have to make sure there isn't a chain blocking rsh.

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5
    The system is using xinetd. How to make sure xinted is running and how to know there isn't a chain blocking rsh?

    Please help,

    Thanks

  6. #6
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Well

    Code:
    iptables -L
    Will list your chains, however I doubt you have rshd installed on this box. What distro is the target box running?

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5
    I don't have any table exist. I think the rsh is install because I can grep the rsh from rpm. (please output below)

    na122001:~ # iptables -Lv
    iptables: Table does not exist (do you need to insmod?)
    na122001:~ # rpm -qa | grep rsh
    rsh-0.17-548.13
    rsh-server-0.17-548.13

  8. #8
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Check the /etc/xinetd.d directory for a service start script.

  9. #9
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5
    yes it is started.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...