delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/04/05:13:13

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=AqvF1834KxiOiGsOw3CDp/kk3R30gCGkK7vRsAZKf80zfJmT0gE3B
lH6YFhueDdZffFA66geP1rXvUY50wJLfTSzfAjMEZB5vWH9852QhtEJw1nLZRRei
QKLKpQornwL0mTRPEEVxI+Lh5uw+ZmNV9zkT9ZUgTuCUUB1nyLJCFQ=
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=9kOND/Jo0T2pQUEBrthvDWU6rSg=; b=mcrYb8Uz5/X6BNBdBuexc2v4cOa+
Mqf2222Hx8bARjx1wrpDIWSyWrph75dMR31bz68slmV59D+OvcTvcnBqtsOb/pQX
G0/V1tivKmdrEyFmWcCASvq1Ieerd/MRrzlv4QDmEfh9mLZEtQMxCit5nhJjBl0Z
MqNzRLTTzbUY42M=
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 4 Feb 2014 11:12:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How big are your /etc/passwd and /etc/group files?
Message-ID: <20140204101247.GA8471@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140131203738 DOT GA8707 AT calimero DOT vinschen DOT de> <CAKf2h5R-FuQX9W=ojw4+ez8gqOHjwYshMh3FmmfNu3r12sRFeQ AT mail DOT gmail DOT com> <20140131220314 DOT GH2821 AT calimero DOT vinschen DOT de> <52EC4727 DOT 2000308 AT gmail DOT com> <20140201102652 DOT GA26805 AT calimero DOT vinschen DOT de> <loom DOT 20140203T183022-692 AT post DOT gmane DOT org> <20140203210522 DOT GR2821 AT calimero DOT vinschen DOT de> <1499918283 DOT 20140204022223 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <1499918283.20140204022223@mtu-net.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Feb  4 02:22, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> > - In SAM (only used for local accounts), there are no freely definable
> >   fields for users or groups, except for the "Description" field.
> >   Therefore, you can set values using a faux-XML syntax in the
> >   "Description" field.  Here's what is supported right now:
>=20
> >   <CYGWINNAME:bla/>    overrides Windows username/groupname
> >   <CYGWINHOME:path/>   sets the Cygwin home directory to "path"
> >   <CYGWINSHELL:shell/> sets the login shell to "shell"
>=20
> Seems a bit overcomplicated, and hardly readable. (The main point of inve=
nting
> XML, along extensibility and easy machine parsing, was the human readabil=
ity,
> which people seems to forgot quite quick.)
> Why not just
> <cygwin name=3D"user" home=3D"/home/user" shell=3D"/bin/bash"/>
> ?

Yeah, that makes sense, I guess.  I didn't claim that all my ideas
were well thought out...

> Also, does this change means, that by default, the Cygwin user's home
> directory will finally match the user's Windows profile directory?
> Good if that.

Cygwin will read the unixHomeDirectory entry (AD), or the CYGWINHOME
entry in the Description (SAM), but the default is still /home/$USER.
Cygwin will not start to utilize the profile path as default home
directory, nor will it read the homeDirectory entry.  There's a
chicken-egg problem which can't be easily solved.


Corinna

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

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

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

iQIcBAEBAgAGBQJS8L0fAAoJEPU2Bp2uRE+gWDAQAKNOPKBCEwpPqHH9jikVeAw2
Zw2Fle+O8NFHCl3Y3c/nJw82WsefAI5G4Ke6qDTgAszVSecro4wJp4Lr225R///G
dakiz0ei/be2R26sZbiL+cSKnNnF3INbnzSwepNA35y/jyo9Fdu68gznRl/om3z3
DJdXdkHap9WvvR67ShPvG1P3tCEReT/HKVzfrnUav+9ypKc36xzfQRzGyJrMoHDd
0zD3FZd4XkVTYk41qJZy7qm4lHEdI2wRqDHAffLsc5ASFjluSxel57wi1gSISb/b
gyNvuKK/pnfITWDjJSFak45NVG4UiqAri553EfhWBIulD4xlmPIwHyv4lyYc7vX9
1RjNZdokg/Ykl4E/pPlDv3LQ1aLo9WAk4SeFfSJkRcqkknW9YYxQZ//aIVdskY5l
6qck4IyS/oncGAc4rUFXvQZ/8BPBMta9seJcbF2hHupCGGWLP2xWWSPLwwwcJtu4
T5swpT6Y20sr9I2jSRLiCCW17Ex6+y0dk8+ks0MuJFgUy03je6TZJ26MREuKBopA
DBKMeJaeSFnJu2efcUYLOujwNoh6dcRwRpuZ03S+/tzgQ1pM3UcnHb5HWSDmJhPH
FXYRQZK4PSQR+HHS/5sa0oggodKeZcRpgzcc5NId9kcH5iYIx1e5holrNr+5ONtH
2LNCc+DvsEL5sUtRbS/h
=uej3
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--

- Raw text -


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