[gopher] Re: Bucktooth questions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> 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@xxxxxxxxxxxx
-- If the cops know where Heisenberg is, can he be caught speeding? -----------
- [gopher] Bucktooth questions, brian, 2007/06/30
- [gopher] Re: Bucktooth questions,
Cameron Kaiser <=
- [gopher] Re: Bucktooth questions, brian, 2007/06/30
- [gopher] Re: Bucktooth questions, Cameron Kaiser, 2007/06/30
- [gopher] Re: Bucktooth questions, brian, 2007/06/30
- [gopher] Re: Bucktooth questions, Cameron Kaiser, 2007/06/30
- [gopher] Re: Bucktooth questions, brian, 2007/06/30
- [gopher] Re: Bucktooth questions, Cameron Kaiser, 2007/06/30
[gopher] Re: Bucktooth questions, brian, 2007/06/30
|
|