www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 15 May 2009 11:43:00 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] mkpasswd and mkgroup ignore user and group names with national characters |
Message-ID: | <20090515094300.GH21324@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <e2480c70905150043p4c9d786dn825f853279c05752 AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <e2480c70905150043p4c9d786dn825f853279c05752@mail.gmail.com> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
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 May 15 11:43, Alexey Borzenkov wrote: > I'm in a domain at work and previously used mkpasswd -d and mkgroup -d > to populate /etc/passwd and /etc/group files. Unfortunately, we mostly > use Russian versions of Windows (especially on servers) here and most > built-in user and group names (like Administrator, Domain Users, etc.) > are localized. With cygwin 1.5 these names were successfully exported > by mkpasswd/mkgroup, however with cygwin 1.7 all such usernames are > silently ignored and don't appear in the output. > > Since my primary group is "Domain Users" every time I execute > cygwin.bat I see this: > > Your group is currently "mkgroup". This indicates that neither > your gid nor your pgsid (primary group associated with your SID) > is in /etc/group. > > The /etc/group (and possibly /etc/passwd) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > > mkpasswd -l [-d] > /etc/passwd > mkgroup -l [-d] > /etc/group > > Note that the -d switch is necessary for domain users. > > Is it some bug or was it a design decision? It's missing setlcoale calls in the first place. I'm going to fix that. Thanks, 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |