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=hdkaPSeO3x0s/jdb2fnBiGHuu19dFpMmeo1RVZvfYa82m2uUpVZdJ | |
EkB12jxTR9+9LVXi85cTGD+F1BMZXyQIOyh6ykSTNsDPgelzUOkwXnZlbWObnDQ4 | |
+5IjwVPtghQri0YUFHkchmDJBQYv+HmQwU3mAqZaLOiT78MFLtngrE= | |
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=ycBxM4+Qr5ykVPv8aoEQ61DRl4Y=; b=SCMt2FUkf/t8E1zn9nzCb+T4RkQP | |
eFlabwhixUsgUYR5I1Ioec5WNa7UPaOgtXh69sRfYGD2FCoNYpvBvJzBG+sgOYR2 | |
COsGQg8HlDYBEi+rAs4o+x5ob9VPsiDAFWIiujwX2hmFEMUDq15qouhu+ciJE4Vq | |
gQb7dejNBIjPTeE= | |
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: | Thu, 6 Nov 2014 19:50:19 +0100 |
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.6 |
Message-ID: | <20141106185019.GK28195@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <announce DOT 20141105164319 DOT GA31314 AT calimero DOT vinschen DOT de> <545B17B8 DOT 5010509 AT t-online DOT de> <20141106164915 DOT GG28195 AT calimero DOT vinschen DOT de> <545BBF4B DOT 4020400 AT t-online DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <545BBF4B.4020400@t-online.de> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--EdRE1UL8d3mMOE6m Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 6 19:34, Christian Franke wrote: > Corinna Vinschen wrote: > >On Nov 6 07:39, Christian Franke wrote: > >>Corinna Vinschen wrote: > >>>Hi Cygwin friends and users, > >>> > >>> > >>>I just released a 6th TEST version of the next upcoming Cygwin release, > >>>1.7.33-0.6. > >>> > >>Looks good so far. > >> > >>An observation from my first test on a machine which is member of a dom= ain: > >> > >>mkpasswd -l and -L always print the HOST prefix. > >>mkpasswd -d and -D never print the DOMAIN prefix > >Right. That's by design. -D is deprecated. -L of the new mkpasswd/ > >mkgroup (which hopefully are not used by users a lot in future) only > >prefix *foreign* machines. >=20 > But why does > mkpasswd -l (no host) -- adds a prefix > mkpasswd -l THISHOST -- does not add a prefix > when the machine is in a domain? Not consistent, IMO. That's right. The reason is that the machine name is treated as a=20 foreign machine. In theory, this should always generate names with prefixed machine name, but this is an entirely different code path in mkpasswd/mkgroup. I guess this should be fixed. I wouldn't be unhappy about help... > Is it because without a HOST it directly calls cygwin_internal() instead = of > Win API and -l/L distinction is not checked then? Uh, yes. That's what I meant above :} > > Otherwise the naming rules of the underlying > >Cygwin SAM/AD naming rules are strictly followed so that a defaultt > >passwd or group file will be identical to the output generated by > >the "db" mechanism[1]. > > > >>This likely would break creation of local 'technical' user accounts in > >>existing *-config scripts (possibly including the csih script): > >The csih scrip needs a thorough kick anyway. I'm working on and off > >on that, but it's not easy due to a couple of very ingrained assumptions > >not valid anymore. I hope to get a new csih working next week. >=20 > But PLEASE keep the ability to create local users/groups without a prefix. > Otherwise useful configuration defaults (mail_owner=3Dpostfix, ...) would= be > no longer useful because config files must be tweaked for each host > (mail_owner=3DHOST+postfix, ...) for the sole purpose of[1]. Some of such > technical users (sshd?) might also be hard coded or a config parser might > not like the HOST+USER syntax. And how's that supposed to work? Even if we introduce a way in /etc/nsswitch.conf to generate usernames differently, it doesn't really help. Your config file should be able to work with default settings and not force the admin to use specific settings in nsswitch.conf. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --EdRE1UL8d3mMOE6m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUW8LrAAoJEPU2Bp2uRE+gJ3cP/1eqg9Zj6dBgyZg3obz0eA7c vA/T4MJb70eHVjee/TvxuFOcWVFYOK9vNwkPrJBnyKG1jeUTElPxorOMqNRlcjA6 ToTJWFMZNf5yew+6KrlTwLNQXhv4sLpaMjclGcReUYJ7TrCuNHByOlwgOYKKIU0P H/rBuWYqoZQLcaeGZVkRml3ke195NSOOrL04/MoujqzJL/2p22rx3BnzOUtwZ0q0 +GN9cPDkVn1fqbtcK5DT6cVaTjTFzdCSY1iccew4OTmmb3zRtqM21ZmhXCRxn/JP yBgpYfXccr8muGQFzMMWuzfYocvPlu7Hdi1hcbSnYsAQY0mlZKyYHo2xOOVeJJXF Vsj7kVwHm2yV5pFq7xrKl1cULLpXzrVlGm6YNNOSXZyi+05TqjsmLL6zAfLp55Ff nr0FKl2pNQ5HIi4CnXTyFGU1JeTUOjqWMNzHwpSLInFVUpszBA0uGiezY/mbM2GH au3xsUqqc01NCtG4tBQqoFnA/YxB/AukaEirtWkzt9DUkVoVpyVISYlxhWLui4Va EQTVTr8dhanW8nKA5ukRhcEsZ5Q8l9U6mJxa7XR3TfgEIxbudOrjP24R1D/SfTc3 iAxQ/RKOURkfXuqlhP5B6XcGmvUS69XFUvTPxBOtu/fqWO8VMH4G00f0sEibMFB0 1sWeFcdOH9sfJ/SPFw4i =xs3+ -----END PGP SIGNATURE----- --EdRE1UL8d3mMOE6m--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |