diff options
author | Chip Salzenberg <chip@atlantic.net> | 1997-02-22 02:41:53 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-02-22 02:41:53 +1200 |
commit | 3a52c276e0d3f7ff5170451cf71c31ef4fa2ef91 (patch) | |
tree | b252ff7c33d0a7188ae347a97414cc4b94cd40f9 /pod/perlsec.pod | |
parent | 3cf761f323c7d78acf211780febc9c6611f6d612 (diff) | |
download | perl-3a52c276e0d3f7ff5170451cf71c31ef4fa2ef91.tar.gz |
Document one-argument limitation with #! line
(this is the same change as commit 3c5180aa4845c30d7891bc90e491cc6f9b6ecd85, but as applied)
Diffstat (limited to 'pod/perlsec.pod')
-rw-r--r-- | pod/perlsec.pod | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pod/perlsec.pod b/pod/perlsec.pod index 5961200f4d..3e44e5bea4 100644 --- a/pod/perlsec.pod +++ b/pod/perlsec.pod @@ -141,6 +141,17 @@ locale-aware program, and want to launder data with a regular expression containing C<\w>, put C<no locale> ahead of the expression in the same block. See L<perllocale/SECURITY> for further discussion and examples. +=head2 Switches On the "#!" Line + +When you make a script executable, in order to make it usable as a +command, the system will pass switches to perl from the script's #! +line. Perl checks that any command-line switches given to a setuid +(or setgid) script actually match the ones set on the #! line. Some +UNIX and UNIX-like environments impose a one-switch limit on the #! +line, so you may need to use something like C<-wU> instead of C<-w -U> +under such systems. (This issue should arise only in UNIX or +UNIX-like environments that support #! and setuid or setgid scripts.) + =head2 Cleaning Up Your Path For "Insecure C<$ENV{PATH}>" messages, you need to set C<$ENV{'PATH'}> to a |