Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E05C6DC.3080108@mysticom.com>
Date: Sun, 22 Dec 2002 16:06:20 +0200
From: Genady Veytsman <genadyv@mysticom.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Cygwin@Cygwin.Com" <cygwin@cygwin.com>
CC: Chris January <chris@atomice.net>, Genady Veytsman <genadyv@mysticom.com>
Subject: Re: permission denied for NTFS network shares
References: <LPEHIHGCJOAIPFLADJAHKEIODCAA.chris@atomice.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


It seems you are right. I tried to use RSH without ".rhosts", supplying 
password and then all the shares were accessible.
Now I just need to find a way to supply a password noninteractivly.
I know that "rexec" allows to do it on unix, but there is no "rexec" in 
cygwin.

Thanks
   Genady

 >Chris January wrote:

>>Unix/Linux systems are much more secure then NT but they do allow RSH
>>without password (using .rhosts).
>>
>>Are you saying that there is no way whatsoever to have RSH without
>>passwords? I need it for running scripts/programs on different NT
>>machines. Interactive behaviour (login/password) will not allow that
>>since you can't hardcode your passwords in scripts.
>>
> AFAIK you'll need to supply a password at some point. You could try using
> expect or something similar to pass the password through.
> 
> Chris
> 
> 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

