LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2011, 08:11 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
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.
 
Old 11-16-2011, 09:36 PM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
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.
 
Old 11-16-2011, 11:51 PM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by wmakowski View Post
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
 
Old 11-18-2011, 12:03 AM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
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
 
Old 11-24-2011, 07:31 PM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying normal rcp (/usr/bin/rcp) Permission denied. Martin Peter Clarke Linux - Server 5 12-21-2010 10:42 AM
RCP How to?? sanigo Linux - Newbie 2 07-14-2009 12:33 AM
Trying to use rcp krysak Linux - Newbie 7 04-21-2009 04:56 PM
Can't use rcp ust Linux - Software 5 08-31-2004 08:11 AM
Allow rcp Eddie9 Linux - General 0 08-20-2002 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration