Date: Sat, 19 Apr 1997 09:54:04 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: current@freebsd.org Cc: johnp@lodgenet.com (John Prince) Subject: Re: suid and perl5 Message-ID: <19970419095404.HL30351@uriah.heep.sax.de> In-Reply-To: <199704181951.OAA14482@milo.lodgenet.com>; from John Prince on Apr 18, 1997 14:51:17 -0500 References: <199704181951.OAA14482@milo.lodgenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As John Prince wrote: > Is there a problem with setuid and perl5?? > The following works with 2.1.0-RELEASE, and not on 2.2.1-RELEASE > > ----myfile start-- > #!/usr/local/bin/perl Whether this works or not is a build feature (of the port, not of the mainstream system in your case). It's the DOSUID define in config.h. The mainstream source (/usr/bin/*perl) doesn't define it, so i assume the port eventually has been configured in a similar way. Using #!/usr/bin/suidperl or #!/usr/local/bin/suidperl is IMHO always guaranteed to work (except of a time window where our port had a broken suidperl). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970419095404.HL30351>