This is the mail archive of the
mailing list for the Cygwin project.
Re: [RFC] Globally creating a user and a group "root"
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: "'cygwin-apps at cygwin dot com'" <cygwin-apps at cygwin dot com>
- Date: Wed, 12 Nov 2003 15:44:44 +0100
- Subject: Re: [RFC] Globally creating a user and a group "root"
- References: <CCD084B0E779D411A70300508B66222605A330AD@exchukahis02.experian.co.uk>
- Reply-to: cygwin-apps at cygwin dot com
On Wed, Nov 12, 2003 at 12:29:08PM -0000, Morrison, John wrote:
> Corinna Vinschen wrote:
> > Eh, no. I was thinking about a postinstall script, which checks for
> > Everyone (S-1-0-0) in /etc/passwd and /etc/group and removes these
> > entries silently. The same script could add the "root" entry to
> > /etc/group.
> But then what happens if somebody messes up there /etc/[passwd|group]
> and have to create it again? Does mk[passwd|group] do the changes
mkpasswd and mkgroup don't create an Everyone entry since August 2002.
The remaining problem is the special handling of root. I guess it's
best to create the /etc/group entry already in mkgroup. For mkpasswd
it might be best, to add a special handling like this: If a Windows
user "root" exists, give it the uid 0.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.