[rt-devel] three patches and comments...

Jesse jesse at fsck.com
Tue May 8 21:53:07 EDT 2001


You shouldn't have to modify anything related to RT to make this work right.
I have a dim memory that mandrake has some sort of magic switch to make
setuid perl work.  You should probably consult your vendor.

        -j

On Tue, May 08, 2001 at 06:33:19PM -0700, Alex Krohn wrote:
> Hi,
> 
> > > Oh, one other problem we ran into during setup. Our version of
> > > perl/linux would not allow non-root users to run setuid perl scripts. So
> > > if you were not root, then you could not run rt-mailgate. The old
> > > Request Tracker with the C file worked fine as setuid.
> > 
> > What distribution? Most distributions bundle setgid perl as a seperate
> > package. And no the C wrapper really wasn't fine.  It caused more problems
> > than any other section of code.
> 
> Hmm, do I need to set path to a special perl? Out of the box on two
> systems I get:
> 
> [alex at alex alex]$ ./test.pl
> Can't do setuid
> [alex at alex alex]$ ls -l | grep test.pl
> -rwxr-sr-x    1 rt       rt             41 May  8 18:27 test.pl*
> [alex at alex alex]$ uname -a
> Linux 2.2.14-15mdksmp #1 SMP Tue Jan 4 21:36:33 CET 2000 i686 unknown
> [alex at alex alex]$ perl -v
> 
> This is perl, version 5.005_03 built for i386-linux
> 
> It's based off of Mandrake 7.2. I'm not that familiar with setuid I'm
> afraid.
> 
> Cheers,
> 
> Alex
> 
> --------------------  Gossamer Threads Inc.  ----------------------
> Alex Krohn                        Email: alex at gossamer-threads.com
> Internet Consultant               Phone: (604) 687-5804
> http://www.gossamer-threads.com   Fax  : (604) 687-5806
> 
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

autoconf is your friend until it mysteriously stops working, at which 
point it is a snarling wolverine attached to your genitals by its teeth
 (that said, it's better than most of the alternatives)  -- Nathan Mehl




More information about the Rt-devel mailing list