From: gopher-bounce@complete.org Date: Sat Jun 30 16:17:10 2007 Subject: [gopher] Re: Bucktooth questions > Well, finally got around to setting up Bucktooth. Right now I'm > testing on an iBook, but will end up running everything on a Linux > box. I'm running under xinetd as user "www". I had to make the > following mods to buckd to get things to work under setgid: > > 1. Remove the perl -s flag from the #! line (can't run this under > setgid) > 2. Untaint $ENV{PATH}, $dinfo, and $request (otherwise, the exec calls > in &mole wouldn't execute without errors) > > Just curious if anyone else had to do this, or if it's just some Mac > weirdness. This is new to me. Perl version? (5.8.6 I assume if you're on 10.4) Exact errors? I wonder if there's something odd about your configuration, because tainting should only be a factor if you're running as root. Also, I'm not sure where PATH is getting involved since exec() is getting passed an absolute filespec, unless I've missed a way it can get there without being validated. I do not claim to write bug-free code :) -- ------------------------------------ personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser@floodgap.com -- If the cops know where Heisenberg is, can he be caught speeding? ----------- Thread start (DIR) [gopher] Bucktooth questions Thread start (DIR) [gopher] Bucktooth questions (DIR) Followup: [gopher] Re: Bucktooth questions (DIR) Followup: [gopher] Re: Bucktooth questions