Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 beta 3/9/83; site dutesta.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!mcvax!dutesta!knop From: knop@dutesta.UUCP (Peter Knoppers) Newsgroups: net.unix-wizards Subject: Re: magic numbers (suid shell scripts) Message-ID: <221@dutesta.UUCP> Date: Sun, 8-Apr-84 08:53:06 EST Article-I.D.: dutesta.221 Posted: Sun Apr 8 08:53:06 1984 Date-Received: Mon, 9-Apr-84 06:13:31 EST References: <1094@utah-gr.UUCP> Organization: Delft univ. of tech., the Netherlands Lines: 11 We have a PWB/UNIX system running on some PDP11/45's. Our shell is altered to operate on set-uid scripts. The shell is set-uid to root. On entry it checks the mode of the script. If the s-bit is set, the shell does a setuid to the user id of the file, if not the shell changes its privileges back to those of the real user. Peter Knoppers, Delft Univ. of Technology ..!{decvax,philabs}!mcvax!dutesta!knop -- Peter Knoppers, Delft Univ. of Technology ..!{decvax,philabs}!mcvax!dutesta!knop