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: net.unix Subject: Re: Why no setuid for root in V7 kernel? Message-ID: <5141@utzoo.UUCP> Date: Fri, 1-Mar-85 20:37:09 EST Article-I.D.: utzoo.5141 Posted: Fri Mar 1 20:37:09 1985 Date-Received: Fri, 1-Mar-85 20:37:09 EST References: <115@peora.UUCP> Organization: U of Toronto Zoology Lines: 11 > In the V7 kernel, the SUID code under the comment "set SUID/SGID protections" > in sys1.c sets the uid for a SUID file only if u.u_uid != 0. > > Does anybody know why this is so? We concluded quite a long time ago that, whatever the intent of this code, the refusal to setuid for root was effectively a bug. We fixed it. No problems. I recommend that everyone else do so. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry