Aucbvax.2065 fa.unix-wizards utzoo!duke!decvax!ucbvax!Lauren@UCLA-SECURITY Fri Jul 3 14:32:04 1981 setuid and root Has anybody ever decided whether the following is a bug? ... In at least some versions of V7 Unix, the setuid bit on a program is ignored if the running user is already uid 0. So, for example, a person who writes a game program that is setuid to himself will have things considerably fouled up if root ever tries to run it, since root will not be changed to that user's id. Apparently setgid DOES take effect for root, however. Is this a bug or a feature? --Lauren-- ------- ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.