Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!kerberos.demon.co.uk!alovell From: alovell@kerberos.demon.co.uk (Anthony Lovell) Newsgroups: comp.unix.bsd.bsdi.misc,comp.lang.perl.misc Subject: Re: setuid perl scripts Followup-To: comp.unix.bsd.bsdi.misc,comp.lang.perl.misc Date: Wed, 11 Oct 1995 21:42:31 GMT Organization: The Home For Three Headed Canines Lines: 22 Message-ID: <DGB0Ax.u7@kerberos.demon.co.uk> References: <fmontes-0510951946560001@200.4.12.6> <45e1f6$2uv@ida.interface-business.de> X-NNTP-Posting-Host: kerberos.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1205 comp.lang.perl.misc:4812 J Wunsch (j@interface-business.de) wrote: : You don't even need a C wrapper. As you can see, Perl is clever : enough about scripts running setuid... :-) (Simply make your script : setuid. If all else fails, put a #!/usr/wherever/bin/suidperl on : top.) That's not allowed, Programming Perl page 374 is quite clear about this suidperl (which should never be run explicitly) Perl runs it for you on setuid scripts. ^^^^^ -- anthony ------------------------------------------------------------------------------ alovell@kerberos.demon.co.uk | If at first you don't succeed PGP Key available from a server | alovell@cix.compulink.co.uk | Get a Bigger Hammer ------------------------------------------------------------------------------