X-Recipient: archive-cygwin@delorie.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=xwdryINEO6KfA2ArZUFVEwHHZxumoZRqYnTSyxL5HrqIfHLCbstNJ
	9Z1C6xyrrXWBY1af9nghvswZsTbq/czUMHBzUZNog1h4SohAS+GtQZpXgA4jJYD5
	jz4f2NeHJHOSjNA6a0FU6cCWgCvaXbuzN1JPA0/3TLLQjSrPVzlhug=
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=cGLw0Gk5rYOptv943D+9qOx3Rag=; b=LeZfVqg0iW7qjG2ssbErZYDWnWTQ
	ZS4jEreEzVbMwfM6HaysBKKq+E4Ha8XZJ4TONQNf2IZV6g+qnvk4TZ8MdnBS2X5J
	NIYC5wFdQHxseGL8lUm7vQMDRyli1+vF1LEduyMAw3sKnTOmpzvZGLB/da4Q1wd3
	q+E8W+aRproaKiE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 23 Jan 2014 18:47:12 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Reduce noise in dependency declaration during uninstall in setup.exe
Message-ID: <20140123174712.GO2357@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <52DF0B86.5030402@etr-usa.com> <52DF1477.2050707@etr-usa.com> <52DF18B1.5050200@cygwin.com> <20140122060243.GC4286@ednor.casa.cgf.cx> <20140122150431.GG2357@calimero.vinschen.de> <786EBDA1AC46254B813E200779E7AD36034A0CFB@srv1163ex1.flightsafety.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="oIlomvtVtXAVxSKT"
Content-Disposition: inline
In-Reply-To: <786EBDA1AC46254B813E200779E7AD36034A0CFB@srv1163ex1.flightsafety.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Jan 23 11:01, Thrall, Bryan wrote:
> Corinna Vinschen wrote on 2014-01-22:
> > Actually I'm working on a method to get rid of /etc/passwd and
> > /etc/group.  I have a partially working implementation now, which
> > generates passwd and group entries by fetching the infos from Windows on
> > the fly, compatible to the uids/gids and user/group names to SFU/Interi=
x.
>=20
> That's a really cool change. How will I customize my Cygwin user name (fo=
r convenient 'ssh server' instead of 'ssh user@server') and shell without /=
etc/passwd, though? (I'd include home directory in that list, except I know=
 I can just set $HOME)

The idea is that local /etc/passwd and /etc/group file takes precedence.
If you have passwd and group entries matching your SIDs, Cygwin won't
ask Windows for them.

The bigger picture is to allow system admins to set this up via AD.  The
easiest (and home-user friendliest) way is to utilize the description
and homedir fields in the AD or local SAM user entries to configure
another username, the shell, and the homedir.

As far as AD is concerned, I'm mulling over the idea to fetch the
information for all this from the UNIX attributes, but that requires to
access AD via ADSI, afaik, so it's something for later.  I'm also not
quite sure if the UNIX attributes are only available after installing
the "Identity Management for UNIX" role on the server...


Corinna

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

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

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

iQIcBAEBAgAGBQJS4VWgAAoJEPU2Bp2uRE+gAi0P/RW9CoUuRJbsXXq3DxoBKCyt
Lhw+ppolXKEkOpSTFQ8JMRp4metWU53w9gHdIvdGEStlHar+fvzdLpOcpqjwKUn/
6SarGIhM5qj747fjQ1GWoEFX1NQH/T2+h2v+9QXZ4LV9J+czE7XbXcscWFvc0RFj
vNsGh15PR1yqFefFEVLvLlsCErbjjKGMo5oN/2bOdvLtrkk0ZVK4Rz1oOYoPMUuC
ou9IEm2fCwhY5VfUzWrGZeIDUGzZKzpGyehcXKq2oOHMlIyGqYYeCnqW9DIX90v7
NkVS/784GqdLxMEYSAXMa+6x+vzlNYl01UiNZVE1tpYGPfASa7vtBhVIQ8M045le
wfGyRG2rHwnIB8hqLFJtAI6Czsv67dUQdl2dFXpSeXUifhL8Ab6iFvv+1GjKleB0
9GQg8iNznwcPfCxA5o20viaZT5XuW12tpe6hVoPf40VXqsQh8n834iDCL1a2RbLC
2iz1lCfeFjxbaqmn1CnvGNs0FgPk7G9ikwbXwXfX6gNHiPZn+a3MhS0JNm0L7K/e
QVLZifEbAj52U8WCaQN4j32r0DLzoufXNM1Q3Yw0opQQpDFm1XR2bOF7yYsSCLBh
bXCnANABVPRMpwGWBMkqPA9dVRTn9BSjZylJTocFLggIokU/35BCj+Q/Z0+JJJZS
Rkg4ZQZHIHFYuw8ENBzz
=jhOW
-----END PGP SIGNATURE-----

--oIlomvtVtXAVxSKT--
