delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/03/17:35:31

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=T6lQ9/4EH2bTQoeQ
6/mstc0t1aVf41Yw9zXl21FQPI6GKFO7PxTxrJ3bXtl47v8HT3dw5LKXzPAGcWb/
TRG92EZRAS7kYI02po7PQCcxmAhT+cn35VBC/v4JfP22wIUf9fL9qx2YmTiGNNLC
ET9378t/wSBrU5UjZWvEuFpLaeQ=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=2EqNeYLajN3xvUDLjQNORc
hFLtw=; b=lc/X5MY+QxJ5l5nUVrv5SmL9jMFSOQOnloqUiHijBG6BIUlXAXx5qd
vxFrkuYaGf4Q2gv1TMHgmJXjU4RSZ/BMZx1xxWUX4GpPtTixmJhTnm3M9gnoU7mi
unfDFAFoevbKh+Vf/i21MKv+xkB2LSzbu3YSQMwZau0Loc/Y+jL5A=
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=4.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 4 Feb 2014 02:22:23 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1499918283.20140204022223@mtu-net.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: How big are your /etc/passwd and /etc/group files?
In-Reply-To: <20140203210522.GR2821@calimero.vinschen.de>
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>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

> - 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:

>   <CYGWINNAME:bla/>    overrides Windows username/groupname
>   <CYGWINHOME:path/>   sets the Cygwin home directory to "path"
>   <CYGWINSHELL:shell/> sets the login shell to "shell"

Seems a bit overcomplicated, and hardly readable. (The main point of inventing
XML, along extensibility and easy machine parsing, was the human readability,
which people seems to forgot quite quick.)
Why not just
<cygwin name="user" home="/home/user" shell="/bin/bash"/>
?

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.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 04.02.2014, <02:17>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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