X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 	tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100427091011.GB12365@calimero.vinschen.de>
References: <g2w9bdf03d21004261234qb993397y3afa2e9c60bca60c@mail.gmail.com> 	 <20100427091011.GB12365@calimero.vinschen.de>
Date: Tue, 27 Apr 2010 08:39:54 -0400
Message-ID: <n2t9bdf03d21004270539l392560b0h62d6bd9189f72a91@mail.gmail.com>
Subject: Re: Filtered tokens
From: Patrick Julien <pjulien@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
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

OK, I understand why it's the privileged token but why is it still in sessi=
on 0?

Also, it doesn't really explain why the files are all installed with
ownership set to me

On Tue, Apr 27, 2010 at 5:10 AM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> On Apr 26 15:34, Patrick Julien wrote:
>> I have read the page found at
>> http://www.cygwin.com/cygwin-ug-net/ntsec.html but I still see the
>> following 2 issues with filtered tokens as implemented by Vista/7 when
>> used by cygwin.
>>
>> When I say filtered tokens, I'm talking about the dual token strategy
>> these systems use to keep administrators running under non admin
>> privileges most of the time.
>
> You mean UAC.
>
>> 1. When using ssh/sshd, the token assigned to a user on login is the
>> fully privileged one.
>
> Deliberately. =A0Otherwise you can't perform admin tasks from a remote
> session.
>
>> And it doesn't matter if I am using keys or a password to login. =A0I am
>> running under my "full privileged" token. =A0Setting the password using
>> "password -R" has no effect either.
>
> I would be surprised if it had. =A0After all it's only a single account
> with a crippled and a full token. =A0I'm surprised anybody wants the
> crippled token in a remote SSH session.
>
>
> Corinna
>
> --
> Corinna Vinschen =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Please, send mails re=
garding Cygwin to
> Cygwin Project Co-Leader =A0 =A0 =A0 =A0 =A0cygwin AT cygwin DOT com
> Red Hat
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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

