On Mon, 19 Nov 2001, David N. Olaf wrote:
>First, sorry if this is not really related to RedHat.
>
>I set SUID for my PERL script as follows:
>
>chmod +s tst.pl
The SUID bit on files is ignored in Linux unless they are binary
executables. You cannot have SUID shell scripts at all,
including perl. Look instead at "suidperl".
if (argc > 1 && strcmp(argv[1], "-advice") == 0) {
printf("Don't Panic!\n");
exit(42);
}
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list