This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How big are your /etc/passwd and /etc/group files?
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Tue, 4 Feb 2014 02:22:23 +0400
- Subject: Re: How big are your /etc/passwd and /etc/group files?
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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@yandex.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