From owner-freebsd-current Fri Apr 18 21:32:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA25209 for current-outgoing; Fri, 18 Apr 1997 21:32:21 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA25202 for ; Fri, 18 Apr 1997 21:32:17 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id GAA06545 for ; Sat, 19 Apr 1997 06:32:06 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.4/8.6.12) with UUCP id GAA20310 for current@freebsd.org; Sat, 19 Apr 1997 06:31:31 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.5/keltia-uucp-2.9) id CAA26501; Sat, 19 Apr 1997 02:18:02 +0200 (CEST) Message-ID: <19970419021802.33889@keltia.freenix.fr> Date: Sat, 19 Apr 1997 02:18:02 +0200 From: Ollivier Robert To: current@FreeBSD.org Subject: Re: suid and perl5 References: <199704181951.OAA14482@milo.lodgenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.67 In-Reply-To: <199704181951.OAA14482@milo.lodgenet.com>; from John Prince on Fri, Apr 18, 1997 at 02:51:17PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3195 Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk According to John Prince: > Is there a problem with setuid and perl5?? Which Perl5 ? 5.002 ? 5.003 ? 5.003_nn (where nn is between 01 and 97f) ? > #!/usr/local/bin/perl > > print "EUID=$> RUID=$<\n"; > exit; > ----myfile end-- You may need to use /usr/local/bin/suidperl although on my CURRENT box with 5.003_97a, it works perfectly: -r-sr-xr-x 1 root staff 69 Apr 19 02:15 src/Perl/s.pl 356 [2:15] roberto@keltia:~/src/Perl> ./s.pl EUID=0 RUID=101 357 [2:15] roberto@keltia:~/src/Perl> cat s.pl #!/usr/local/bin/perl print "EUID=$> RUID=$<\n"; exit; 359 [2:15] roberto@keltia:~/src/Perl> perl -V Summary of my perl5 (5.0 patchlevel 3 subversion 97) configuration: Platform: osname=freebsd, osvers=3.0-current, archname=i386-freebsd ... Locally applied patches: Dev97A - First development patch to 5.003_97 Built under freebsd Compiled at Apr 6 1997 21:27:33 -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #41: Sun Mar 23 23:01:22 CET 1997