[Linux] suid scripts

Kendrick Vargas ken@hudat.com
Mon, 2 Oct 2000 16:14:08 -0400 (EDT)


On Mon, 2 Oct 2000, Danny Rathjens wrote:

> Am I going senile?  Any idea why this doesn't work?
> (I did RH7-custom-upgrade a week ago)
> 
>  % ls -al suidtst
> -rwsr-xr-x    1 502       666           13 Oct  2 15:38 suidtst*
>  % cat suidtst
> #!/bin/sh
> id -u
>  % id -u
> 501
>  % ./suidtst
> 501
>  % 

I vaguely remember that a number of OS's (I know IRIX is one of
them) don't allow for suid shell scripts. Maybe that's it?
			-peace

--- BEGIN GEEK CODE BLOCK ------------+-----------
GAT d- s:+ !a C+(+++) UI/L/S/B++(+++) | "In the morning glad I see
P>+ L+(++) E---- W+++ N+ o? K? w++++  |  My foe outstrech'd beneath the tree."
O--- M-- V PS+++@ PE Y-- PGP+ t++ 5   |               -The Poison Tree
X++ R- tv+ b DI++ D+ G e>*  h*(!) r-  |                William Blake
y*(+) ------ END GEEK CODE BLOCK -----+