pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/security/sudo



On Thu, 03 Apr 2008 00:06:08 +0900, Johnny C. Lam <jlam%netbsd.org@localhost> 
wrote:

>
> Module Name:  pkgsrc
> Committed By: jlam
> Date:         Wed Apr  2 15:06:07 UTC 2008
>
> 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)
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.110 -r1.111 pkgsrc/security/sudo/Makefile

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.

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index