delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/27/08:40:10

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT com> <20100427091011 DOT GB12365 AT calimero DOT vinschen DOT de>
Date: Tue, 27 Apr 2010 08:39:54 -0400
Message-ID: <n2t9bdf03d21004270539l392560b0h62d6bd9189f72a91@mail.gmail.com>
Subject: Re: Filtered tokens
From: Patrick Julien <pjulien AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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 AT cygwin DOT 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

- Raw text -


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