delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/05/08:29:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Joe" <jdenicola AT maxwellsystems DOT com>
Subject: Re: rcp problem
Date: Fri, 5 Dec 2003 08:29:29 -0500
Lines: 32
Message-ID: <bqq17q$71b$1@sea.gmane.org>
References: <Law11-OE53TXRgcpfiS0000319b AT hotmail DOT com>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Some things to check:

- the .rhosts file on Linux must be owned by you or by root and have
permissions of 0600.

- did you use a hostname or IP address in .rhosts?  It must be a hostname.
Also, ping that hostname and make sure it displays the IP address of the
cygwin system to be sure it resolves correctly.

- passwords being the same does not matter - rcp does not use passwords


"mohanlal jangir" <mohanlaljangir AT hotmail DOT com> wrote in message
news:Law11-OE53TXRgcpfiS0000319b AT hotmail DOT com...
> I tried to do rcp from cygwin to linux machine but I got following error :
>
> $ rcp   temp.txt  10.10.10.45:/home/mohanlal
> 10.10.10.45:  Permission denied
>
> This seems to be user validity issue. Command "whoami" at cygwin as well
as
> at linux machine returns "mohanlal".
> On machine 10.10.10.45, I have created file .rhosts in /home/mohanlal
> directory granting permission to the machine I am doing rcp from. Password
> on windows machine running cygwin and on linux machine are same. Any clue,
> how can I get it work?
>
> Regards
> Mohanlal
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019