public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
Date: Wed, 22 Oct 2014 12:37:00 -0000	[thread overview]
Message-ID: <20141022123714.GI32374@calimero.vinschen.de> (raw)
In-Reply-To: <54479DEA.3040608@alice.it>

[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]

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.
> 
> 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=1049577(corinna) gid=1049701(vinschen) groups=1049701(vinschen),545(Users),14(REMOTE INTERACTIVE LOGON),4(INTERACTIVE),11(Authenticated Users),15(This Organization),4095(CurrentSession),66048(LOCAL),1049713(hirmke),1049089(Domain Users),1049148(Denied RODC Password Replication Group),401408(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

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-10-22 12:37 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 12:07 Angelo Graziosi
2014-10-22 12:37 ` Corinna Vinschen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-22 13:27 Angelo Graziosi
2014-10-22 13:41 ` Corinna Vinschen
2014-10-22  9:42 Corinna Vinschen
2014-10-22 13:35 ` Habermann, Dave (DA)
2014-10-22 13:54   ` Corinna Vinschen
2014-10-22 14:48     ` Corinna Vinschen
2014-10-22 16:44     ` Achim Gratz
2014-10-23 18:01       ` Achim Gratz
2014-10-24  9:56         ` Corinna Vinschen
2014-10-27 18:35     ` Habermann, Dave (DA)
2014-10-27 21:26       ` Corinna Vinschen
2014-10-28 13:42         ` Habermann, Dave (DA)
2014-10-28 14:20           ` Corinna Vinschen
2014-10-28 14:58             ` Eric Blake
2014-10-28 15:16               ` Corinna Vinschen
2014-10-28 17:07             ` Habermann, Dave (DA)
2014-10-28 20:22             ` Habermann, Dave (DA)
2014-10-29 10:21               ` Corinna Vinschen
2014-10-30 17:02                 ` David Rothenberger
2014-10-30 17:22                   ` Corinna Vinschen
2014-10-30 23:50                   ` Andrey Repin
2014-10-31 12:26                     ` Habermann, David (D)
2014-10-29  0:05         ` Andrey Repin
2014-10-27 21:35       ` Andrey Repin
2014-10-23  2:57 ` Tom Schutter
2014-10-23 15:44   ` Corinna Vinschen
     [not found]     ` <5449F281.3080701@cisra.canon.com.au>
2014-10-24  6:35       ` Luke Kendall
2014-10-24 10:37         ` Corinna Vinschen
2014-10-26 22:28           ` Luke Kendall
2014-10-27 12:39             ` Corinna Vinschen
2014-10-27 23:13               ` Luke Kendall
2014-10-23  3:00 ` Tom Schutter
2014-10-23  6:14   ` Corinna Vinschen
2014-10-23 18:00   ` Achim Gratz
2014-10-23 22:05   ` Andrey Repin
2014-10-23 18:06 ` Denis Excoffier
2014-10-24 11:02   ` Corinna Vinschen
2014-10-24 18:41     ` Denis Excoffier
2014-10-24 19:36       ` Corinna Vinschen
2014-10-24 20:16         ` Christian Franke
2014-10-24 20:45           ` Corinna Vinschen
2014-10-24 21:17           ` Denis Excoffier
2014-10-25 11:10             ` Corinna Vinschen
2014-10-25 14:49               ` Corinna Vinschen
2014-10-25 17:29                 ` Denis Excoffier
2014-10-25 18:15                   ` Corinna Vinschen
2014-10-27  6:31                 ` Christian Franke
2014-10-27 11:37                   ` Corinna Vinschen
2014-10-27 13:35                     ` Andrey Repin
2014-10-27 14:09                       ` Corinna Vinschen
2014-10-24 16:35 ` Andrey Repin
2014-10-24 17:28   ` Keith Christian
2014-10-24 17:57     ` Eric Blake
2014-10-26  3:11       ` Keith Christian
2014-10-24 18:16     ` Thomas Wolff
2014-10-24 19:17   ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141022123714.GI32374@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).