Re: How to turn on rsh?


Subject: Re: How to turn on rsh?
From: John Nelson (john@computation.com)
Date: Thu Jan 10 2002 - 20:49:50 MST


The names in /etc/hosts.equiv are both fully qualified and not fully
qualified...

+locahost
+thingy
+thingy.mydomain.com

But I keep getting "Permission denied".

Yes, I used "only_from" in xinetd.conf. This is weird... everything
seems to be set up right yet I keep getting Permission Denied.

-- John

Avinash Gupta wrote:

>Do you have the fully qualified domain names in /etc/hosts.equiv? You will
>not be able to run rsh as 'root' ... try running it as a different user. Try
>this:
>
> $ /bin/hostname
> machine.domain
>
>Put the above 'machine.domain' in your
>/etc/hosts.equiv. Try 'rsh' as a regular user e.g.:
>
> [agupta@laxmi agupta]$ rsh machine.domain /bin/hostname
>
>This seems to work for me ... at least on the local box.
>
>BTW, When you say your xinetd.conf lists machines that are authorized, I am
>assuming you are using the 'only_from' option in the xinetd.conf file. I did
>not have to do that ... the only file I modified was /etc/hosts.equiv and it
>worked.
>
>-- Avinash Gupta (agupta@mediaone.net)
>
>
>On Thursday 10 January 2002 08:57, you wrote:
>
>>All,
>>
>>I'm having problems with RSH. I can't seem to get it to work on Yellow
>>Dog either
>>locally (within the same machine) or over the network. I keep getting
>>the error "Permission
>>Denied" which according to the documentation means that the permissions
>>and username
>>negotiation failed.
>>
>>Ok... but why? I have a hosts.equiv file. I have rsh-server installed.
>> My xinetd.conf file
>>even lists machines that are authorized.
>>
>>Really strange... any problems with YDL RSH that I don't know about? I
>>have two other
>>machines whose RSH works well. This one doesn't.
>>
>>-- John
>>



This archive was generated by hypermail 2a24 : Thu Jan 10 2002 - 21:05:25 MST