Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!ateng!chip From: chip@ateng.com (Chip Salzenberg) Newsgroups: comp.unix.xenix Subject: Re: Setuid(geteuid()), help Keywords: setuid, geteuid Message-ID: <1989Jun15.160916.111@ateng.com> Date: 15 Jun 89 16:09:16 GMT References: <197@ajfcal.UUCP> Organization: A T Engineering, Tampa, FL Lines: 14 According to tony@ajfcal.UUCP (Tony Field): >System: Xenix 2.2.3/386. >Is there any way to do a setuid(geteuid()) when geteuid() != 0 ??? No. Not only does "setuid(geteuid())" fail, but under SCO Xenix 2.3.1 at least, it returns ZERO when it fails. "Error codes? We don't need no stinking error codes!" -- You may redistribute this article only to those who may freely do likewise. Chip Salzenberg | or A T Engineering | Me? Speak for my company? Surely you jest!