setuid bit on shell scripts - works? or not?

Henry Spencer henry at utzoo.UUCP
Tue Nov 25 10:13:08 AEST 1986


Given kernel support (4BSD, V8, maybe SysV) and a "#! /bin/sh" (etc) line
at the front, you can write setuid shell scripts.  They open up security
problems that can only be described as "disastrous", though.  If you have
any concern for security at all, setuid shell scripts are a serious mistake.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.unix.questions mailing list