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: ...
- 01-04-2007 #1Just 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?
- 01-04-2007 #2
- 01-04-2007 #3Just 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?
- 01-04-2007 #4
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.
- 01-04-2007 #5Just 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
- 01-04-2007 #6
Well
Will list your chains, however I doubt you have rshd installed on this box. What distro is the target box running?Code:iptables -L
- 01-04-2007 #7Just 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
- 01-05-2007 #8
Check the /etc/xinetd.d directory for a service start script.
- 01-08-2007 #9Just Joined!
- Join Date
- Jan 2007
- Posts
- 5
yes it is started.


Reply With Quote