X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 19 Oct 2011 16:45:14 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: A quick question regarding a recent commit
Message-ID: <20111019144514.GA16351@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5D5CAD1E-BB44-4A1D-AA1A-1356448A6A5A@linux-depot.com> <2glt97dmt8q6sct9ahgg3pp7m3codvronc@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <2glt97dmt8q6sct9ahgg3pp7m3codvronc@4ax.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On Oct 19 09:58, Andrew Schulman wrote:
> > You recently applied a patch to the Cygwin tree regarding Windows
> > permissions when logging in via SSH with PubKey authentication (see
> > the link below). Another user in the thread confirmed it worked in
> > the latest snapshot. I download the latest cygwin-inst tar ball and
> > replaced the existing installed files on a machine that is suffering
> > from the same issue (with the ones from the archive). After rebooting
> > the machine the issue still persisted though :-( (trying to install
> > an MSI as administrator, works with password auth, not with pub key).
> 
> Please log in with pubkey and run 
> 
>   /cygdrive/c/Windows/System32/whoami /all
> 
> Then post the results here.  That will show which privileges your account
> has, and whether they're enabled.

This is probably not the same problem.  The solution for these cases is
either to just stick to password auth, or to use the passwordless setuid
methods 2 or 3 as outlined in
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview
This should fix this kind of problem, especially method 3.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

