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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=bRBXyaHvPn+NNwj23gPIXTkS/hvbznUAfWPstCF8RJi
	EeS/tskbtFevmYP6KmboK6C9c5LtQvPx9W9s7j5TrruzDQdQQfCcZnnj1Lslrpju
	Jk1jg6svzy+H+6ue0PtNV88419DM/q8K5sx/TpcJzVNlDOmCF9Xl2ibEW+kMZ9Xg
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=69xp6xtuACgdmskeGWDNaZRElFg=; b=Cq0JTLsAiiCmR1LBG
	Q67wNd7v5VlVod0IJP8hRgSnehJE1vV9nhRD1So0bgg+TQ2a/+6F3HJDfb2z5+rW
	iWa1EXhK6Z5BPCbKUpWMVx7JKf7TfFI990H7xVssj3LjA8NtD4ciwY982wskiVVB
	wAxDKewd3uiGl7TBj78Ffl2uU8=
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=-0.2 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <52F0E60A.4010103@tlinx.org>
Date: Tue, 04 Feb 2014 05:07:22 -0800
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How big are your /etc/passwd and /etc/group files?
References: <20140131203738.GA8707@calimero.vinschen.de> <CAKf2h5R-FuQX9W=ojw4+ez8gqOHjwYshMh3FmmfNu3r12sRFeQ@mail.gmail.com> <20140131220314.GH2821@calimero.vinschen.de> <52EC4727.2000308@gmail.com> <20140201102652.GA26805@calimero.vinschen.de> <loom.20140203T183022-692@post.gmane.org> <20140203210522.GR2821@calimero.vinschen.de> <1499918283.20140204022223@mtu-net.ru> <20140204101247.GA8471@calimero.vinschen.de>
In-Reply-To: <20140204101247.GA8471@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Corinna Vinschen wrote:
> On Feb  4 02:22, Andrey Repin wrote:
> Cygwin will read the unixHomeDirectory entry (AD),....
---
	I assume this will work without AD?
//ishtar/law/Bliss> mkpasswd -D -o 0|sort -t: -n -k3

SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
printer,U-Bliss\Juno,S-1-5-21-33333-77777-33333-1462://Bliss/juno:/bin/bash
Bliss\law:unused:5013:201:L A 
Walsh,U-Bliss\law,S-1-5-21-33333-77777-33333-5013://Bliss/law:/bin/bash
---
Note homedir for 'Bliss\law = //Bliss/law:
//Bliss/law> df .
Filesystem      Size  Used Avail Use% Mounted on
I:              1.0T  722G  303G  71% /cygdrive/i

However, during login, I massage that to the local
USERPROILE dir as having my home dir files localling
is a wee bit fster.

I also add significant entries to my group file that
cygwin leaves out -- but that do show up on an
id. (all the standard well defined groups), including
  "specifically:
Untrusted Mandatory Level:S-1-16-0:11600000:
Low Mandatory Level:S-1-16-4096:11604096:
Medium Mandatory Level:S-1-16-8192:1168192:
Medium Plus Mandatory Level:S-1-16-8448:1168448:
High Mandatory Level:S-1-16-12288:11612288:
System Mandatory Level:S-1-16-16384:11616384:root
Protected Process Mandatory Level:S-1-16-20480:11620480:
Secure Process Mandatory Level:S-1-16-28672:11628672:

So when I use 'id', I get:
uid=15013(Bliss\law) gid=10201(Bliss\lawgroup) 
groups=10201(Bliss\lawgroup),544(Administrators),545(Users),10512(Bliss\Domain 
Admins),10513(Bliss\Domain Users),10517(Bliss\Cert 
Publishers),10518(Bliss\Schema Admins),10519(Bliss\Enterprise 
Admins),10520(Bliss\Group Policy Creator 
Owners),10260(Bliss\torrent),11053(Bliss\Trusted Local Net Users),11612288(High 
Mandatory Level)

The security levels are mostly for informational / interest  purposes...

Maybe they might be added to cygwin if it is going to substitute it's own
internal DB?









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

