setuid?

Keith Gabryelski ag at cbmvax.commodore.com
Wed May 9 06:42:09 AEST 1990


In article <3320 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>In article <11410 at cbmvax.commodore.com> I wrote:
>>This didn't answer Mr. Rae's question nor was it in the least
>>constructive since on System V [*1] a shell script can not be setuid;
>
>Eh?  When last I saw S5R4 it *did* support set-uid shell scripts, and
>used the "/dev/fd/N" hack to get around at least one of the known
>security holes.

My mistake--a correction: System V Release 4.0 does support set-uid
shell scripts if the !# notion is used.  I've tried this with the
bourne and korn shells.

Pax, Keith
-- 
Support code for SVVS:
{int fd=open("/dev/zero",0);mmap(0,0x800,1,0x11,fd,0);close(fd);}
Keith Gabryelski				ag at amix.commodore.com



More information about the Comp.unix.wizards mailing list