Operating System - Linux
1829115 Members
12271 Online
109986 Solutions
New Discussion

Facing problems with rsh-server installation on REDHAT 5

 
Masthan
Advisor

Facing problems with rsh-server installation on REDHAT 5

Hi All,

I am getting the following error message, when i tried to install rsh-server package on my RHEL 5 m/c.

[root@hazlx10 ~]# rpm -i rsh-server-0.17-34.2.x86_64.rpm
error: open of rsh-server-0.17-34.2.x86_64.rpm failed: No such file or directory

I also tried the following options but no luck.
[root@hazlx10 ~]# rpm -U rsh-server-0.17-34.2.x86_64.rpm
[root@hazlx10 ~]# rpm -F rsh-server-0.17-34.2.x86_64.rpm.

Any ideas on this ?
13 REPLIES 13
Ivan Krastev
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

Check that you have rpm in same dir:

ls rsh-*.rpm


regards,
ivan
Masthan
Advisor

Re: Facing problems with rsh-server installation on REDHAT 5

Thanks, I installed rsh-server. But still rsh is not working. After installing the rsh-server package, I
-> edited /etc/xinet.d/rsh 15 th line " disable = yes" to "disable=yes"
-> .rhosts file is updated
->chkconfig rsh on

I am getting permission denied message.
[root@hazlx10 xinetd.d]# rsh hazlx10 pwd
Trying krb4 rsh...
krb_sendauth failed: You have no tickets cached
trying normal rsh (/usr/bin/rsh)
Permission denied.

Any ideas on this ?
Alexander Chuzhoy
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

Since you try to access with root, you have to append to /etc/securetty file the line rsh.

It looks like you don't assign points to the replies you get. It will be appreciated.
Masthan
Advisor

Re: Facing problems with rsh-server installation on REDHAT 5

I tried that also, but no luck. Any other ideas ?
Ivan Krastev
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

See if /usr/krb5/bin is before /usr/bin in PATH and change it.


regards,
ivan
Masthan
Advisor

Re: Facing problems with rsh-server installation on REDHAT 5

I tried that option also, but no luck ?
The following snippet explain u , what i did
[root@hazlx10 etc]# type rsh
rsh is hashed (/usr/bin/rsh)
[root@hazlx10 etc]# rsh hazlx10 pwd
Permission denied.

system log messages:

Oct 19 04:33:33 hazlx10 xinetd[4033]: START: shell pid=4045 from=16.180.184.132
Oct 19 04:33:33 hazlx10 rshd[4045]: rsh denied to root@hazlx10.ind.hp.com as root: Permission denied.
Oct 19 04:33:33 hazlx10 rshd[4045]: rsh command was 'pwd'
Oct 19 04:33:33 hazlx10 xinetd[4033]: EXIT: shell status=1 pid=4045 duration=0(sec)


Ivan Krastev
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

If cannot run rsh at same pc look at this - http://linuxgazette.net/issue36/tag/98.html

regards,
ivan
Alexander Chuzhoy
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

looks like you try to rsh to the same pc you're on.

it means that .rhost in /root directory has to have hazlx10.
Steven E. Protter
Exalted Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

Shalom,

service xinetd restart

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alexander Chuzhoy
Honored Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

service xinetd restart isn't required, since "chconfig rsh on" command enable the service immediately.
Masthan
Advisor

Re: Facing problems with rsh-server installation on REDHAT 5

Hi All,

I tried all your options. But still i am seeing this problem. I think this problem is specfic to RHEL 5. Have any one seen, "rsh working fine on RHEL 5" ? I havent seen this problem on SLES 10/RHEL 4. System log also not giving much details.

Vipulinux
Respected Contributor

Re: Facing problems with rsh-server installation on REDHAT 5

Hi

You said that u did "edited /etc/xinet.d/rsh 15 th line " disable = yes" to "disable=yes"
"

You need to chnage it to say
disable=no

Cheers
Masthan
Advisor

Re: Facing problems with rsh-server installation on REDHAT 5

Is rsh dependent on anyother service or package ?