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?


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


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