Mark E. Perkins wrote:
> Martin Costabel wrote:
[...]
>>
>> Did you perhaps play with your /etc/sudoers file ("sudo visudo")? Maybe
>> along the lines of Fink FAQ#5.10? The syntax has changed from Panther to
>> Tiger. On 10.3 it was OK to have a line
>>
>>   %admin  ALL=NOPASSWD: ALL
>>
>> Now on 10.4 it must read
>>
>>   %admin  ALL=(ALL) NOPASSWD: ALL
>>
>> Otherwise you fail exactly these two tests, although with a different
>> error message from yours.
>
> The entire (useful) contents of my /etc/sudoers is:
>
>      Defaults        env_delete+="PERLLIB PERL5LIB PERL5OPT"
>
>      # User privilege specification
>      root    ALL=(ALL) ALL
>      %admin  ALL=(ALL) NOPASSWD: ALL
>
> Now I'm wondering if that Defaults line is a problem. As I recall that's
> an addition to circumvent some privilege escalation problem that came up a
> couple of years ago (I'm hazy on the particulars at the moment, but
> probably have some notes on it somewhere).

If I comment out the 'Defaults' line noted above, then 'sudo make test' in
the fink-0.8.1-full directory completes w/o error. Does the Fink
installation script set PERL5LIB somewhere (e.g., to get
Fink/Services.pm)?

BTW, the security advisory against sudo that prompted this is summarized
here:

     <http://www.courtesan.com/sudo/alerts/perl_env.html>

My Tiger installation has sudo v1.6.8p9, which is vulnerable, so I will be
re-enabling that Defaults line.

Mark



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to