delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/04/09:33:36

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=N23xqqwm8cNPKCtmpy5baGxFEaRmieHIDzNZUlUIITRnLZoWohU0q
SVRKUuV4YZjIEIyw8n63N3b0xebE9aKR8xd68erIQegirdMkPq/lylfSVyrjLRXI
XY0Ogn5fjQTkkEYrbQkEvKem8zhkkqKx5+dfK1FVdOF5NlQxzlLUCg=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=XoO/ctK99DKn+UBunPUwggIMStg=; b=mlgiTfBc6sQx7xJMZrfF3DCzzMAF
muX5OXJnet7jKNQMw0xDd6IAtgTk6rdCSsi4bJKuupNDi/DK1TviFPauOzrUdqf9
N6drXUBJ1kjo+o+ffeuejQ0tZm92f86etTnQxJrrzPuKks2VltDWSHB9FHCTxKlU
1TQ0fIbzDGxB854=
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 4 Feb 2014 15:33:03 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How big are your /etc/passwd and /etc/group files?
Message-ID: <20140204143303.GA28913@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <52F0E60A DOT 4010103 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <52F0E60A.4010103@tlinx.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  4 05:07, Linda Walsh wrote:
> 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?

No, unixHomeDirectory is an AD attribute not available in the local SAM.
For the local SAM you'd have to utilize the Description field entry as
described in my other mail, or stick to an /etc/passwd entry for your
user account.

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

This won't be necessry anymore.  Right now, output from `id' looks
like this in my local sandbox (without passwd and group files):

$ id
uid=3D1049577(corinna) gid=3D1049701(vinschen) groups=3D1049701(vinschen),4=
(+INTERACTIVE),66049(+CONSOLE LOGON),11(+Authenticated Users),15(+This Orga=
nization),4095(CurrentSession),66048(+LOCAL),1049089(Domain Users),1049148(=
Denied RODC Password Replication Group),401408(Mandatory Label+Medium Manda=
tory Level)


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS8PofAAoJEPU2Bp2uRE+gZ7gP/jA24iv1THGPqqMLigcUxU9a
mRi51n19/cv6VEf93pnbXswbI0pckWLL64spslsKSs+FaVThP2fLKwyre0kEy4k5
MPgjlbuMlQCoiMD6RDBa9qJZdEzxm2KlFa88Pe5LCGnFqi0uAknOsO6/eG4cUBq4
eS/hTiL7Z/ypH5Hz7ldC0DtKldme0IztoT4YkP1uNrAifXLyfy/oCuuFl8Jbn7jf
TFQ+oZkX4uPcsDgOu+V+3h4eDR8Zx+UBMFSTZrrRNX4bE3m3d9Cxy6xZXYt0oi6d
UwD+8t6CYKOhAYYJAT0XLn8Io1gyQMQXDXdJifE9CEcPPKk82Rkzel+sUlF3/FZX
mnVngvLEB8Im3EQbhfxBjnyT7iE8gDRgCT8IDejRcCDh/hQxfcl3aAAk34rRy9fl
g4eh2q1/Ht5tcXnS6Oelaen7U+PnguDkAF3lw0wVK7K1hJkp0e2JaDQpw+uq4utV
mQrsAXzmmXZjIY4l9gZ1VCQ9Q7QleaB3aHoZRxQ9/2KNUG2rrD4QZU8s+xDoDYj4
W3Oc4NFk+zybORAb2m/Fz1n3mEqfldMhsxiK7G/+GZfHIc6CZGsCtioN2w6++0NW
iV9onX1atgtRtKVh1ni99W+BYQGXEHDINVqiskcVTWj+0Qe0CDkfnrdEpsn6Pwhq
XRJ3G/E6eoIAuUTh6kgL
=Gpe+
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--

- Raw text -


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