[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can shell-script be setuid ?



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.

To get a setuid shell script you have to write a C wrapper program for it
or let the user execute it with sudo.



Reply to: