LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not allow rcp (https://www.linuxquestions.org/questions/linux-newbie-8/not-allow-rcp-913955/)

ust 11-16-2011 08:11 PM

Not allow rcp
 
I have four RH4 server , I can use rcp to copy file between servers , any user , any direction works fine .

Now I just found that one of user have problem to allow rcp from other servers , but this user can rcp file to other server , even I set ( + + , IP userid , hostname userid etc ) to .rhosts but still not work , the error is as below , it is strange that only this user in this server can not allow rcp , others is OK . can advise what will be the possible reason of it ?

Thanks.

Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
Permission denied.

wmakowski 11-16-2011 09:36 PM

You should not have to bother with a .rhosts file if kerberos is in place. The "Trying krb4 rcp..." message is telling me that. Kerberos should handle the authentication and permit the user to use the remote commands, such as rcp. My guess is that an entry is not correct or a ticket has expired for that particular user in kerberos causing it to give a permission denied response. Take a look at some of the kerberos commands. Sorry I can't be more specific, it has been quite some time since I used kerberos.

ust 11-16-2011 11:51 PM

Quote:

Originally Posted by wmakowski (Post 4526180)
You should not have to bother with a .rhosts file if kerberos is in place. The "Trying krb4 rcp..." message is telling me that. Kerberos should handle the authentication and permit the user to use the remote commands, such as rcp. My guess is that an entry is not correct or a ticket has expired for that particular user in kerberos causing it to give a permission denied response. Take a look at some of the kerberos commands. Sorry I can't be more specific, it has been quite some time since I used kerberos.

thx reply ,

But I still wonder why only this userid has problem .

I do not have knowledge about kerberos , can advise how to set it ?

Thanks

ust 11-18-2011 12:03 AM

Hi ,

I tried to add all conbination in .rhosts but still not work , I am wonder this userid in this server can not get rcp file but can use rcp to put file

ust 11-24-2011 07:31 PM

Hi ,

Can advise what is the possible reason of deny rcp if I already add (+ +) to .rhosts , even I added specific IP , userid but still not work .

Thanks.


All times are GMT -5. The time now is 01:50 PM.