delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/06/15:42:41

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=iQcsxb/mlxjWO8MQXAA77qjoIRtB1iJUpsz6ci9gQZjtHYtmNnLTF
vwW3+UubmsSVuEufCjnjR9OAZqHENXaV4NKJtxuqzKW7oFgxfvo4PqWDnQxN2dpI
J07MI/GwWDdtPDWeeVTnOrZtrH1Nqp8B6VTZW24wiEfF0t1BL/OzvA=
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=Ee1yyTM5ca34VtMS/LDX3fDRN9c=; b=xHT0T9HaqTIlqMqS07EJ/cHeDDFP
jBgAYH4U9NakZGNlrvc4el4DsYJBtIkz7Z5jTK/lPIU6u3w01j6JWwTmEeE3K972
Mqhed2sHikB8MdQMdtSUjdQSMK2U8NJG+n2fspGQ2Yu7/tEh9V+Y4Su4ftPmPHt2
iNn7vRm2nbdfmr0=
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 21:42:22 +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: <20141106204222.GQ28195@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> <20141106185019 DOT GK28195 AT calimero DOT vinschen DOT de> <545BD14A DOT 8080803 AT t-online DOT de> <20141106200635 DOT GP28195 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20141106200635.GP28195@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Nov  6 21:06, Corinna Vinschen wrote:
> On Nov  6 20:51, Christian Franke wrote:
> > Corinna Vinschen wrote:
> > >On Nov  6 19:34, Christian Franke wrote:
> > >>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
> > >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...
> >=20
> > I would only fix it back to the old behaviour (mkpasswd -l =3D no prefi=
x),
> > sorry :-)
> >=20
> > At my real job we run several build & test machines which are members o=
f a
> > domain but use various local test user accounts (with no collision with
> > domain users due to name space rules). Loosing the ability to use
> > prefix-less local user names would break various existing test scripts
> > (which are also used on Linux).
> >=20
> > Generated emails would have a from address with HOST+USER name part whi=
ch
> > might give interesting results if the mail system somehow interprets the
> > NAME+EXTENSION address syntax...
> >=20
> > So there are use cases where prefix-less local user names are needed. T=
his
> > should be still supported, e.g. by mkpasswd -l, IMO.
>=20
> But then... why not keep mkpasswd -L and use that instead?

On second thought, it's completely wrong to allow printing local
accounts from another machine without prefix.

In theory there should be only one option -l [machine], which prints the
local accounts of the current machine unprefixed (standalone machine) or
prefixed (domain machine), and always prefixed for a foreign machine.
The -L option can just go away.


Corinna

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

--q8dntDJTu318bll0
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJUW90uAAoJEPU2Bp2uRE+gK6gP/1Vefcco6QCU7Uwoqo2BQjnr
9LCNjmetxYUYuft8yKYqmxzTAdAaR7CQpkltdTkvOWFjd6eCTL9adS0oLLE/0d/Z
y+DRcHmGS8T4uH52BCe48M0UVdoLiAbiwFMwjR5KxOgqanjJbuo46nn7gGvr5UyU
saP0EfLEEGdubqPb7IGAtBT0IGhhoHEQN6zROciUnQxcndwFR9pZDgeK/rjAvsHZ
YAt82HX8u7rjDHVb/zqaGFNj5MFlmNGmrmUyM7VT5MbRfFUck9yEmcNhHDnojg6o
EYD0kDMfwLMIqHWow4e/3mBxJVcvdTwuHVlr535PZPSrBO+3HcHlj1h2NjDElPnS
8X7wZM4xK9bACkG2tedCJ0Vs42mQU0j9zehaK0v5dqyr7SkmODIbs8A7nd3EFGft
q6knmGJNx0ojtS53RAXJ88QT1FpQfn1+51oeM1uNHrwVPKO8HnExIwMlHOgStvLT
L05a3hz4929aM2Di4zkQcaiUzfBeRRfNbIsL/FW/AxdP35Xqn1ZLXlfN5HonR2kh
p/MLKVNLpjq7OQqSqxg0qTovFKWf4yrujRsKXj7k0iB7ZT4SpVR4HsoSZ4J8K61R
eixrpXtguBROKuVAGdbj+BinnjLzhfwjG6R1X1TNHwqvyAl6XJN+uSZNWmr4aBYi
ATOaCPv7Z8TXHcpjYBTE
=hDTe
-----END PGP SIGNATURE-----

--q8dntDJTu318bll0--

- Raw text -


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