delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/22/08:37:33

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=ZfEipn869JV+nKvwjYIURQaZOfQAdkS2WqHz4YKIb0h5REznnIi75
cnnlNEiZJVAwqetBosyIOHLeZv90fgmzenBF13DbmPWQjHYgqZJMTbQR6k+svPLN
oSvBd4jOm5a4d7O6qUhBDqOwE/WyIBYqGAuyWJj+bSBsySaRpCR0FU=
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=iq9qZZnVTOOJ1iLG71LDFtMBosg=; b=IViotLSbc9/T5A2j2v2xnuv5vxho
chcbtDXh3hsTFkbpSOhleeh4OgwhSzI3cpxNt0kq8mt/YF7KUiIArhjhEcufui01
A8hfOM3CYp49SqLQt2Nd+Vv/eL7e9cEEKT6m6Gvj8fSfeKTd+ecHU91MnrLqJhgN
/FizxwViblHVHZg=
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=-0.9 required=5.0 tests=AWL,BAYES_00,SPAM_BODY1 autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 22 Oct 2014 14:37:14 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
Message-ID: <20141022123714.GI32374@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54479DEA DOT 3040608 AT alice DOT it>
MIME-Version: 1.0
In-Reply-To: <54479DEA.3040608@alice.it>
User-Agent: Mutt/1.5.23 (2014-03-12)

--rMWmSaSbD7nr+du9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Oct 22 14:07, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
> >The major change in this new release is the new method to read account
> >(passwd and group) information from the Windows user databases directly,
> >without the requirement to generate /etc/passwd and /etc/group files to
> >generate Unix-like uid and gid.
>=20
> Does it mean that the users with /etc/{passwd,group} files have to rename
> them [*] before its installation TO TEST the new functionality?

By default, Cygwin will use the file content, and fallback to requesting
account info from Windows if an account is missing in pasdswd or group.

As an example, just try `id':

$ id
uid=3D1049577(corinna) gid=3D1049701(vinschen) groups=3D1049701(vinschen),5=
45(Users),14(REMOTE INTERACTIVE LOGON),4(INTERACTIVE),11(Authenticated User=
s),15(This Organization),4095(CurrentSession),66048(LOCAL),1049713(hirmke),=
1049089(Domain Users),1049148(Denied RODC Password Replication Group),40140=
8(Medium Mandatory Level)

Remoing the files is one way to test, but it's the more awkward one.
The better way is to create an /etc/nsswitch.conf file with the
following content, and then stop your Cygwin shell and restart it:

$ cat > /etc/nsswitch.conf <<EOF
passwd: db
group: db
EOF
$ exit

For the details, see the new documentation, please.

It's really, really worth to read it!

It also explains the above, see

https://cygwin.com/preliminary-ntsec.html#ntsec-mapping
https://cygwin.com/preliminary-ntsec.html#ntsec-mapping-nsswitch


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--rMWmSaSbD7nr+du9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUR6T6AAoJEPU2Bp2uRE+gZZgQAIBu8SVRQvS5jKTN5A5EYx5s
/RsEvd0merx9apA7Ufpd7/PPeWlKq1E6QiYTdEMD9jpwnkvbgmM2iHdvGHvAEw96
/xUVAuUmNfIjkgBDvH4aePenxr8JEfX2QpQpSkVC3Dx5s/9YCGpPSzyCFhViXhj8
gsFEuo5Lx+L5e96N+913XlMVc1d/XyTOTwebJKykBNh4ZcxpG9oVOOwHkT6yu03p
dJb6SPrXMSMW85N6vsXMY/U8oFCik5pmILHGOvht+rqAVhzSVniF+YZc19yPQSBy
RFnQXsrABKXvczd87Fq+dHNXAJJpybTp+KKIL2v3wLoK1iKaDezWiBCpY8BoJ05A
AbE945J6FYHdIGRfZLk5ZbBkhPBZlTa2jxyvNA/kMUH++6iKD2SIyinpMimEqtOo
MB9bDJzyimQqIZVrTGGer64d5yymV7EV2frPtsZ5596KPMN2KXJTFqaoGPg1aNEo
8FVALLAwklDzRNUn4HvKgdfPRI11DjiqW+FU/wVER4qpWwXGDkEg8quFg3OlGQeF
aJ8m2u6OZ8lT/KQD7lhV19hOWu8UDfwAlC7YdEL4w69k+vxTUxwTtbngVIRxvJk+
FB2D3tL8Uvay6GMnrmKuqwoYGRuD74inPe4Jb0CWMTGBHdceZkh5f/nnwyC+yBn9
vR0FwQ5qMBQwpEQiG0Wd
=mPa/
-----END PGP SIGNATURE-----

--rMWmSaSbD7nr+du9--

- Raw text -


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