This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Some questions about the nfs source package was: RE: NFS server (final?)
On Fri, Feb 14, 2003 at 02:02:39PM -0000, Max Bowsher wrote:
> Pavel Tsekov wrote:
> > Which uid should own /etc/exports? [default 0 (root)]
> >
> > What have you answered to that one when configuring ? I guess a good
> > defaults would be the Administrator uid and the SYSTEM gid i.e.
> > something like 544 (Administrator), 18 (SYSTEM). I dont know though
> > if the Administrator uid is a well known one i.e. if it is always 544.
>
> 500 = Administrator (S-1-5-21-x-y-z-500)
> 544 = Administrators (S-1-5-32-544)
>
> And those numbers are constant.
They are? They aren't. At home I'm using this passwd and group entries:
root:*:0:0:,S-1-5-32-544::
root:S-1-5-32-544:0:
which means (according to the ntsec documentation) that neither the
name nor the uid/gid are fixed values.
Of course that's a problem I didn't think of when inventing this free
floating method. AFAICS, the only uid we insist on being fixed is the
18 for SYSTEM but only of desparation. ;-)
I think the default should be SYSTEM/18. OTOH, I think it's pretty much
ok to use the 544 as default but the script should test then, if that
uid actually exists, right?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.