delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/06/17/15:08:51

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Thu, 17 Jun 1999 22:55:20 +0400
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.029) S/N A0F2A05A
Reply-To: Egor Duda <deo AT logos-m DOT ru>
Organization: DEO
Message-ID: <3955.990617@logos-m.ru>
To: Corinna Vinschen <corinna AT vinschen DOT de>
CC: cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re[2]: default /etc/passwd contents
References: <375D805A DOT 90C9D21B AT vinschen DOT de>
Mime-Version: 1.0

------------11F1355779014FC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

9 June 1999 Corinna Vinschen <corinna AT vinschen DOT de> wrote:

>> You can't get gid, because gid is only meaningful, if it's read from
>> /etc/passwd. Remember: Outside of domains, no primary group exists.
>> You only get name and uid but it should be possible, to use the
>> administrators group (gid 544) as primary group in any case.

CV> Umm, I thought about it once more. This may also work with ntsec.
CV> Would you please try it, Egor?

it seems to work ok under nt with ntsec. Either when logged in as a
member of "administrators" group or as ordinary user. Alas, i have no
'95 or '98 boxes around to check it up there.

ssh, wget and others works just fine on machines without cygwin
installed, and don't complain that "We don't know who are you, so go
away."

CV> This also would be a good choice for the default /etc/group entry.
CV> Instead of using the dummy group `Everyone' which doesn't refer
CV> to any meaningful group, I suggest using the `Administrators'
CV> group (gid 544). We would get the groups native name with the call
CV> `LookupAccountSid (NULL, get_admin_sid (), ...)'!

A patch against snapshot-06-14-1999 is attached.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19
------------11F1355779014FC
Content-Type: application/x-gzip; name="default_etc_passwd.diff.gz"
Content-Transfer-Encoding: base64
Content-Disposition: att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kqb3WCpswOx5Co+3dd04sm4+MeksLntOn
ncJ7Ft/hmktcQk1CvlsL3haZyeqdXy+Fkd7W60yKAqx3+esal5mq2BcQKOM5TuyxtSPQe4LXdAL4
G+Jj5xHBic+oK9BV0r9XFVuEFonIghWJ/dvVhZCrKBk1DksMuK2Nw7eFZnn7QKFq5gds0zJappVl
uMSktJCmWd6IGBcFTy+yak6ViuWTJBFRQynOmRO5MxtrZprcpeLs76M4B7o4CDg9U+/cFUwS/JAc
qcpZCWvqsYok7V+XT3ZSrLDkhXpGmRdXITWxHWWb4OkAy8jvfuCFTxwub/Mg4uBEDFyHszbWIhZw
P/ZXTH5YyEUgyi1nP8tCUw80zAEIk3jDVlohVgeevB3qIW4d7GtQ81Ueua7rtTyhz3Y/rpSr7V9T
yTPRybBqUFLHe4U6vkaoyrjVH/bMUpfRR9C+clj63YkawI3ecSQ/D+Kv7LM0fencnFGfssWXulXo
e3gTEiJjP6biqr7Dpv7+FzF9rcOFGAAA
------------11F1355779014FC--


- Raw text -


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