Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 11 Aug 2005 09:42:57 +0300
From: Michael Spector <michael@zend.com>
To: cygwin@cygwin.com
Subject: Re: difference in permissions, using two SSH authentication methods:     public key/password
Message-ID: <20050811064257.GA10977@gibraltar.zend.office>
References: <20050810113433.GA20506@mail.zend.com> <42F9ED84.A0B53889@dessent.net> <20050810143156.GA18482@mail.zend.com> <42FA807F.3B0A4F78@dessent.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42FA807F.3B0A4F78@dessent.net>
User-Agent: Mutt/1.5.6i
X-IsSubscribed: yes

On 15:32, Wed 10 Aug 05, Brian Dessent wrote:
> Michael Spector wrote:
> 
> > May be this question is not for this maillist, so please excuse me:
> > 
> > Is there a way of disabling this NTSEC security mechanism?
> > I mean: is there a way of accessing shared disks without logging in with password?
> > 
> > I tried setting CYGWIN=nontsec, but the situation is the same.
> 
> As Corinna already said, you will need to provide the password one way
> or another for network share authentication.  You can do this by giving
> it directly to 'net use', or you can run the sshd service as the desired
> user.  In this case you will give the password for the user when
> installing the service, and there will be no user context switching
> necessary.  The token for the service will already contain the password,
> so it should be possible to access network shares using passwordless ssh
> auth.  The downside is that you will only ever be able to log in as that
> user.  (Both because regular user accounts lack the privileges to switch
> user contexts and because doing so would just result in the same problem
> of a token lacking a password.)
> 

Thanks to all!

-- 
Best regards,

Michael

--
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/

