Computing.Net > Forums > Solaris > rcp permmision denied!!!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

rcp permmision denied!!!

Reply to Message Icon

Name: doc
Date: May 22, 2002 at 12:08:24 Pacific
Comment:

im trying to copy a file over our network from one machine to another:
im trying to copy hello.c into my root directory on machine with an ip: 192.45.168.10

i did a rlogin to sysem 192.45.170.20
from 192.45.168.10

both machines have the same subnet:
255.255.0.0

example:
#rlogin 192.453170.20
%rcp hello.c 192.45.168.10:/
permission denied

what am i doing wrong?

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Rob
Date: May 22, 2002 at 13:49:39 Pacific
Reply:

From what I understand .20 has the file and you want to copy it to .10, right???

rcp does not prompt for passwords; your current local user name must exist on hostname and allow remote command execu- tion by rsh.

So from .20 can you rlogin into .10??

.20# rlogin -l


0

Response Number 2
Name: Rob
Date: May 22, 2002 at 13:50:18 Pacific
Reply:

From what I understand .20 has the file and you want to copy it to .10, right???

rcp does not prompt for passwords; your current local user name must exist on hostname and allow remote command execu- tion by rsh.

So from .20 can you rlogin into .10??

.20# rlogin -l


0

Response Number 3
Name: PaulS
Date: May 24, 2002 at 07:16:44 Pacific
Reply:

rcp requires that you give permission to do the copy. There are a couple of ways to do it, but in this case the best would be to just edit the root /.rhosts file (or create one) on the .10 system and add:

192.45.170.20 root

I assume you are using root to do rcp.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: rcp permmision denied!!!

rcp from Solaris 8 to PC www.computing.net/answers/solaris/rcp-from-solaris-8-to-pc-/2902.html

rcp, rsh .. not work www.computing.net/answers/solaris/rcp-rsh-not-work/3717.html

Host Deny www.computing.net/answers/solaris/host-deny/3044.html