This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How big are your /etc/passwd and /etc/group files?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]