pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/security/sudo



OBATA Akio wrote:
On Thu, 03 Apr 2008 00:06:08 +0900, Johnny C. Lam <jlam%netbsd.org@localhost> 
wrote:
Modified Files:
        pkgsrc/security/sudo: Makefile

Log Message:
Don't hardcode "0 0" for the root user and group -- use ${REAL_ROOT_USER}
and ${REAL_ROOT_GROUP} instead.  The pkginstall framework checks for
the name of the user and group, not the uid and gid, when comparing
permissions.  This fixes the following spurious warning from appearing:

    The following files are used by sudo-1.6.9p15 and have
    the wrong ownership and/or permissions:

            /usr/pkg/etc/sudoers (m=0440, o=0, g=0)

This change may fixes PR#33875, but if uid of ${REAL_ROOT_USER} and
gid of ${REAL_ROOT_GROUP} are not 0, you should pass it to configure by
--with-sudoers-uid and --with-sudoers-gid (default is both 0).
And for Interix, ROOT_GROUP is 131616.

Okay, there are ways to do that using the pkginstall framework (I believe qmail is one example). I'll try to fix it today.

        Cheers,

        -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index