www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/06/08/16:43:26

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
Message-ID: <375D805A.90C9D21B@vinschen.de>
Date: Tue, 08 Jun 1999 22:43:06 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>, Egor Duda <deo AT logos-m DOT ru>,
cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: default /etc/passwd contents
References: <0873 DOT 990608 AT logos-m DOT ru> <19990608131346 DOT A1137 AT cygnus DOT com> <375D7CBF DOT 27DAD5AA AT vinschen DOT de>

Corinna Vinschen 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.

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

It then would be better, to insert /bin/sh as shell again in this entry,
because this would be compatible to the standard behaviour.

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

After Egor's test, I would then implement an according change to `grp.cc'.

Regards,
Corinna

-- 
new mail address:
mailto:corinna AT vinschen DOT de

- Raw text -


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