Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 1995 16:47:36 -0700
From:      Gary Palmer <gpalmer@westhill.cdrom.com>
To:        "matthew c. mead" <mmead@glock.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: Setuid perl scripts 
Message-ID:  <18237.801532056@westhill.cdrom.com>
In-Reply-To: Your message of "Fri, 26 May 1995 17:53:12 EDT." <199505262153.RAA17029@Glock.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199505262153.RAA17029@Glock.COM>, "matthew c. mead" writes:
>	Anyone know why setuid perl scripts don't work with /usr/bin/perl?
>Thanks!

Because when perl detects it's being run set[ug]id, it moves to
working with `taintperl' which does a bit more security checking (or
something) to prevent security holes opening up inadvertantly.

perl scripts quite often have to be re-written to work properly under
taintperl 'cos of it's restrictions. See the man page for more.

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18237.801532056>