|
发表于 2005-3-7 23:39:47
|
显示全部楼层
Post by 弥敦路九号
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.
呵呵,和我找到的资料说法是一样的,在Linux这样和系统setuid是不起作用的,但在一些UNIX系统则可以起作用,此时要非常注意安全 |
|