delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/04/08:07:49

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: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 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=-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 AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How big are your /etc/passwd and /etc/group files?
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> <20140204101247 DOT GA8471 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140204101247.GA8471@calimero.vinschen.de>
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

- Raw text -


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