Date: 12 May 2006 03:07:18 -0000 From: John Levine <johnl@iecc.com> To: freebsd-questions@freebsd.org Cc: jekillen@prodigy.net Subject: setuid perl scripts ? Message-ID: <20060512030718.14162.qmail@simone.iecc.com> In-Reply-To: <191ac950d308bc36847f124e686b38f2@prodigy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
It is my distinct impression that setuid perl scripts are supposed to work. That is, if you have an executable perl script with the setuid bit, perl will start itself up and run suidperl or something and do the necessary backflips to get itself running with the script's owner as the effective UID. This doesn't seem to to work in perl 5.8.8 on FreeBSD 6.0, using a copy of perl built in the obvious way in the ports tree. Is it supposed to work? Do I have to do something special to turn it on? R's, John Characteristics of this binary (from libperl): Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Locally applied patches: defined-or Built under freebsd Compiled at May 10 2006 20:36:34 @INC: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060512030718.14162.qmail>