TEST RELEASE: Cygwin 1.7.35-0.3

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Feb 25 17:06:00 GMT 2015


On Feb 25 17:21, Corinna Vinschen wrote:
> On Feb 25 08:55, Warren Young wrote:
> > On Feb 25, 2015, at 8:23 AM, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> > > 
> > >>  $ chgrp `id -g` id*
> > >>  $ ls -l id*
> > >>  -rw-rw---- 1 Warren Warren 1.7K Feb 25 08:12 id_rsa
> > >>  -rw-rw---- 1 Warren Warren  398 Feb 25 08:12 id_rsa.pub
> > > 
> > > Hang on, how come your group is your user account?  That's certainly
> > > not correct and it's certainly not the default, neither with SAM
> > > accounts, nor with domain accounts.  Is that something set in your
> > > passwd/group files?  If so, change it.
> > 
> > I’m using the new SAM support, only.
> > 
> > This is how Microsoft configured this Windows 10 VM.  I haven’t made
> > any local user admin type changes, except to create a second account
> > for testing.
> > 
> > I get this from id(1):
> > 
> > $ id
> > uid=1000(Warren) gid=11000(Warren) groups=11000(Warren) …etc.

Btw., the uid and gid values are wrong.  You *are* using passwd and
group files, otherwise you would have much bigger uid/gid values.
RID 1000 should result in uid 197608.  Please either remove the files,
or change your /etc/nsswitch.conf file to

  passwd: db
  group: db

> Darn.  Did you set this up with a "Microsoft Account"?  If so, then
> something's not working as expected.  There's code in Cygwin which
> converts your primary group in your user token to the group "Users" in
> this scenario to avoid this very problem.
> 
> But somehow this code doesn't kick in in your case and it would be
> obviously interesdting to know why.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150225/160880b8/attachment.sig>


More information about the Cygwin mailing list