On Mon, Oct 02, 2000 at 01:51:03PM -0400, William T Wilson wrote: > On Mon, 2 Oct 2000, Alex V. Toropov wrote: > > > Can I make a shell script setuid ? > > No. Linux doesn't support this since it is insecure. It works with perl > scripts only, because Perl does some extra checks and explicit handling to > make it work. Also, doesn't perl use a special suid binary to run these scripts, because as far as the kernel is concerned it just hands it to /usr/bin/perl non-suid. Perl detects that the script is suid, and does the security handling and restarts suid with that binary. -- finger for GPG public key.
Description: PGP signature