Path: utzoo!attcan!uunet!peregrine!elroy!ames!haven!decuac!felix!info-ultrix From: dls@mace.cc.purdue.edu (David L Stevens) Newsgroups: comp.unix.ultrix Subject: Re: getuid, geteuid broke? Message-ID: <71067@felix.UUCP> Date: 21 Nov 88 20:43:20 GMT Sender: info-ultrix@felix.UUCP Reply-To: dls@mace.cc.purdue.edu (David L Stevens) Lines: 10 Approved: zemon@felix.UUCP Reply-Path: Reply-to: dls@mace.cc.purdue.edu (David L Stevens) Nope, not an error. The effective uid of the "su" shell differs from the real id, but forked children are real and effective "root". The right way to test it would be to compile your program, change the owner to "root", change the mode to "4751" (setuid) and then it should print different real and effective uids. -- +-DLS (dls@mace.cc.purdue.edu)