delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/06/14:09:52

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=WwAdNm7M+g9eVA0zSjSvGHe9zfuiOiaCm+HJCaDF8cKOS/GvZ3ghb
tDCylxq4UOK0hnzSBXXVbAb/qskwg0BYNzKijEwA7joV1BVeYh0e67VKAvQ+D1ZG
LtedO4Ymd3rRi54ZsDXACV9/fBTLWL18upI3n+q4ir6iIr1UuLRAfw=
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=wjFkDGRjDjj4LWc0c20Gq/D9ylU=; b=e9rhsBiSi+EwLgiUp864QxZZx/8r
KvOeH/Q2lf5mKYbemWSV1kHFElbGKXzsaLPGFIwhYUJ5V5Z4jmNdnfUQYqHeWbTP
5z/YwsFkrZ+3pObU6yT+FKRwKjd8xwg98TVROnXZOqtuWg3feytVno+9IWLZtiF7
9N7XGnsiG6j5QSg=
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 20:09:29 +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: <20141106190929.GM28195@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>
MIME-Version: 1.0
In-Reply-To: <20141106185019.GK28195@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Nov  6 19:50, Corinna Vinschen wrote:
> On Nov  6 19:34, Christian Franke wrote:
> > But PLEASE keep the ability to create local users/groups without a pref=
ix.
> > Otherwise useful configuration defaults (mail_owner=3Dpostfix, ...) wou=
ld 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 su=
ch
> > technical users (sshd?) might also be hard coded or a config parser mig=
ht
> > not like the HOST+USER syntax.
>=20
> 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.

Btw., sshd contains a patch to allow sshd as well as MACHINE+sshd as
account name for the unprivileged privsep account.  There's a new
system call in Cygwin for that very purpose:

  #include <sys/cygwin.h>

  cygwin_internal (CW_CYGNAME_FROM_WINNAME, "unprefixed-accountname",
		   username_buffer, sizeof username_buffer);

See the comment in external.cc, under the CW_CYGNAME_FROM_WINNAME case.


Corinna

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

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

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

iQIcBAEBAgAGBQJUW8dpAAoJEPU2Bp2uRE+gUP4QAJILEd6xMGMMpQdGHkImu+FD
VRJ6EJX5PyA/Ak4KwZzny9KLjCFyNayJP5utxszw7X3ncjKXxAKQP0yVHQSguIxp
t9hNkiCvQ6VioF1BTp1C3zI2mBEUUL0qGqzkeO9gdoICNEBOPFAocgt2c1Zn9ZrS
lh18bBStDQ0JwUbCGF80HVA/osvIAL8vcL9G+IuSR6pw20JqQI37ZLG5/zaeQvgn
gjMGjYRlQzq/FzdCRsY79kICSiPL+4BfPHHUUeGaT+iDL1eq1TKt18T20FbrrB9W
0HNA34U13e/FHbv8bFkLV/FwlG1y3CIJZPBuY9mB73oJIXV0ioE52t5vGkIXe9a8
1Five4rBSYggBHxboijN6//lqa9aq+xIb7p7j6+jWwqBHB5pUMg+sYCpWnULckQP
rrA9wvsGSLuK68jqWEttTAhpScQb0dqGEkaEX/pnN8DzdnSOm8hj2oeArcqMFskx
Hcl1ElwDnc0EzYUrOrd6ix00BoBkLgo+Tj55cMgLInGFG2bqnGl2O65Rqcbg4MGJ
qhXIGSlTHRLWPN/kPVjL3adV+trCN/jsTMB7191agqEianNWBLESM95yo07GHtI9
e+WOoaJQf4eUHbhG0gHOMeJu+lpp6XnA0dZkewfBTUnTPmuRM3Gi07+t4xRk8b+7
IkmPWMsoRYSQUlvVdKxp
=8CkH
-----END PGP SIGNATURE-----

--OOq1TgGhe8eTwFBO--

- Raw text -


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