Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: comp.unix.questions Subject: Re: setuid bit on shell scripts - works? or not? Message-ID: <7349@utzoo.UUCP> Date: Mon, 24-Nov-86 19:13:08 EST Article-I.D.: utzoo.7349 Posted: Mon Nov 24 19:13:08 1986 Date-Received: Mon, 24-Nov-86 19:13:08 EST References: <2668@gitpyr.gatech.EDU>, <3129@ece-csc.UUCP> Organization: U of Toronto Zoology Lines: 7 Keywords: shell script setuid 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