Subject: Re: #define name for non-root pkg_install tools
To: Mark Funkenhauser <mfunkenhauser@rogers.com>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 05/05/2004 13:37:01
On Wed, 28 Apr 2004, Mark Funkenhauser wrote:

: With Interix, there are potentially two different Administrator user
: accounts:
:   localSystem+Administrator  and  PrincipalDomain+Administrator
: (uid = 197108  and  uid = 1049594  respectively)

Right.  1049594, however, is not treated specially by pkgsrc.

Is a domain Administrator automatically a member of the local Administrators
group (131616)?  If so, pkgsrc should be happy as-is; it is using the gid
(as of now, numerically) for most privilege check uses.

: I guess it depends if any of the pkg_* tools assume that the current
: user is privileged.

At the moment, pkg_* in pkgsrc does not do the permissions check on Interix
at all.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>