This is the mail archive of the
mailing list for the Cygwin project.
RE: [RFC] Globally creating a user and a group "root"
- From: "Morrison, John" <John dot Morrison at uk dot experian dot com>
- To: "'cygwin-apps at cygwin dot com'" <cygwin-apps at cygwin dot com>
- Date: Wed, 12 Nov 2003 12:29:08 -0000
- Subject: RE: [RFC] Globally creating a user and a group "root"
Corinna Vinschen wrote:
> On Wed, Nov 12, 2003 at 10:25:21AM -0000, Morrison, John wrote:
>> Corinna Vinschen wrote:
>>> On Tue, Nov 11, 2003 at 01:22:50PM -0500, Pierre A. Humblet wrote:
>>>> At 05:58 PM 11/11/2003 +0100, you wrote:
>>>>> What about generating a root group with mkgroup -l by default?
>>>>> The question is then, should it *also* generate an administrators
>>>>> or should it generate the "root" entry *instead* of the
>>>>> administrators entry?
>>>> Obviously I am for maintaining compatibility with existing
>>>> installations (544 must work), some of which still have Everybody
>>>> with gid 0 (using 0 as mapping to S-1-5-32-544 is risky).
>>> I think we should do the affected users a favor and remove the
>>> Everyone entry from /etc/passwd and /etc/group when we find one.
>>> This should be done by a script in the base-files or base-passwd
>>> package as a regular job.
>> Part of /etc/profile? or put it in /etc/profile.d/?
> 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
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
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH