[Linux] suid scripts

Arieh Markel Arieh.Markel@central.sun.com
Mon, 2 Oct 2000 14:21:10 -0600 (MDT)


> From: Kendrick Vargas <ken@hudat.com>
> To: Danny Rathjens <dkr@hq.mycity.com>
> Cc: linux@flux.org
> Subject: Re: [Linux] suid scripts
> 
> 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?

Just tested on Solaris. It works there.

Arieh
--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)