delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=DB5t8LxsUldIw309N2Y2KTeS5jEllcszWoTOng/z+i2e084Rh+OEm | |
3Iztv2McbmAfEFDeqlfCTQ3NWkUFL7fAeG2zHIJtOEuAOfi9WxxitiIU6cBNJ3FA | |
XciMINsoumOHjQXIm+Alu7ijNekP1QtP307BEXz9bRRoWVzsWhULwM= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=yDh/iGcp0R+uFtz3/3n7eo2PefU=; b=oIN1aW65myixY+49yP0Yux1oKbbL | |
R94eyEy0q9xyEUGApCoyF435xp97Dbux2snOf/92vT5dy1bM2dXQ8JwY6oG4ZTw7 | |
d9OMKtB4LeFrjCqOj4d7l/D3Lq/yt+o6R5Vk15udlAnmB2F4dRSYwPiVGMaJggIB | |
7mcxID/jwDfO8ak= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 7 May 2014 16:46:11 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Microsoft Accounts (was Re: Problem with "None" Group on Non-Domain Members) |
Message-ID: | <20140507144611.GM30918@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5367B990 DOT 8050907 AT breisch DOT org> <20140505165723 DOT GM30918 AT calimero DOT vinschen DOT de> <5367DEE5 DOT 5010407 AT breisch DOT org> <20140506125203 DOT GO30918 AT calimero DOT vinschen DOT de> <53691564 DOT 1070200 AT breisch DOT org> <20140506171626 DOT GZ30918 AT calimero DOT vinschen DOT de> <53692867 DOT 4060305 AT breisch DOT org> <20140507115730 DOT GE30918 AT calimero DOT vinschen DOT de> <20140507124038 DOT GG30918 AT calimero DOT vinschen DOT de> <536A3E80 DOT 2060602 AT breisch DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <536A3E80.2060602@breisch.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--xdAuejbAAr3yyIdQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 7 10:09, Chris J. Breisch wrote: > Corinna Vinschen wrote: > >And here's a problem which I'm not sure how to solve at all: > > > >When calling the latest mkpasswd, the primary group of the local > >user account backing the Microsoft Account will *still* be "None". > > > >The reason is that the local account is just the same old account > >as usual. Its default primary group *is* "None". > > > >Only when logging in via the Micosoft Account email address, the > >user token will not reflect what's stored in the local SAM, but > >will have been changed by the OS as outlined in this thread. > > > >So, when a user decides to create a passwd file rather than using > >the SAM/DB code in Cygwin, the information generated by mkpasswd > >will not match the user token, and the primary group stored in > >/etc/passwd will not even be available at all in the user token. > > > >I have not the faintest idea how to workaround this schizophrenia. > > > > > >Corinna > > > Oh wow. It took me two reads of this to understand it. Caffeine is > finally kicking in, I guess. Unless you just want to hard code the > primary group that mkpasswd generates to "Users" for any account > that it would tend to want to set as "None". That would be some > smelly code though. Hmm, but it might fix a couple of problems. If we go ahead and always convert the "None" primary group to "Users", we'd have a pretty stable state, which works nicely for local accounts, independently of habving logged in as normal account or as Microsoft=20 Account. This might be the easiest workaound, in fact. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --xdAuejbAAr3yyIdQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTakczAAoJEPU2Bp2uRE+gB94P+wRUTtqjhjfum/OHLyN7LCCv N3UQD/gAhoNaMY7ulLNKs8xbJC6u9VRBeGxg9YxCdOGayZEszBdBwtAF7xs5Dnxs 4wRqhjTISRucNtyZ8EtDw8aoFGYeB0xNrisZkb/tMyTssBQW2DRjRRh5WsQvNIfy 78mKmRJ+TAWueM6xkutGL5wltJVH9GzruL0oOb0+CTbpFiFJy1+hAw7HvELHDQLc efrQEUJLQf0NSttvBO+bK0ydY6O0n5jMUg3rul6GZTXnXzvUoNVhFO3ZDQ39MGAe Wu3EPfrsxn36N1e0NkOZuT/mtcld8JqDEsA13b8jP0N2YxrDSAky3gcwcKFXsoZL Lwh+eaH2jz8CYRt84o3fEBx0TwJp5qKVN5bfzFH1A6WVkzjbvI6t2tyopWQu9JyC nszk3Dk9rbXyzniku21p23OmASIhP/TCzFCX0tzlnU7yzpIpEFICuTtZpbarj4JD ymGxEtq54DDohBD9LVFDNRjZsFle3DRbBmxl/LnsoQVaG/uw4LmwhR9zv4hxHc88 jgnR647uVdqMLQkcrKUA3whaNQPpG9F8Q/K64X/KXDyDsjFGL9Msk4KKWnmmKpbo dlOxHlzSiAzMxAeu/efXYYo1BgWgjrr+gxIzHOrjWV8E8+VQbUONbM5zGVb0CBrw E9QG/TMcK3u/4wRhWYxP =/WJA -----END PGP SIGNATURE----- --xdAuejbAAr3yyIdQ--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |