delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/17/11:15:43

X-Spam-Check-By: sourceware.org
Date: Tue, 17 Jul 2007 17:15:19 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin on XP home edition (Please help i cant get further with this)
Message-ID: <20070717151519.GH20662@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20070715T160116-57 AT post DOT gmane DOT org> <20070716201739 DOT GB20662 AT calimero DOT vinschen DOT de> <loom DOT 20070717T151142-193 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20070717T151142-193@post.gmane.org>
User-Agent: Mutt/1.4.2.2i
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

On Jul 17 13:18, Hennie wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > On Jul 15 14:11, Hennie wrote:
> > > Then throw it out of the group users.
> > > [...]
> > > Is it according to cygwin still in the group users ?
> > > If so is this a behaviour of XP home edition?
> > > Does this allso happen in XP professional?
> > 
> > It also happens on XP Professional.  I have no idea why yet.  There's
> > nothing special with the users group in Cygwin.  The group list is taken
> > from the returned user/group lists of the Win32 API.  I'm wondering if
> > Windows adds the Users group to the list if the user is not in any local
> > group.  I'll investigate this further at one point.
> 
> Ah well for wat XP home edition goes on, i have put in that specific user whom 
> i threw out of the group users into another group i created
> 
> again from a windows command box.
> [...]

I played a bit with this and it turns out that this is a Windowism.  You
don't need Cygwin to reproduce this.  The group Users is always added to
the user token's group list, regardless of the local group(s) the user
is in, or if it's member of any group at all.

The reason is this.  The well known groups "NT AUTHORITY/Authenticated
Users" and "NT AUTHORITY/Interactive" are both members in group Users.
Both groups are added to the user's login token, and all groups they are
member in.  That's how Users gets added to all user tokens.


Corinna

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

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

- Raw text -


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