Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!oliveb!sun!limes From: limes@sun.uucp (Greg Limes) Newsgroups: comp.unix.wizards Subject: Re: access(2) (was: Writing to A NON-Existing File in "C") Message-ID: <50777@sun.uucp> Date: 25 Apr 88 20:24:31 GMT References: <898@cresswell.quintus.UUCP> Reply-To: limes@sun.UUCP (Greg Limes) Organization: Sun Microsystems, Mountain View Lines: 11 In article <898@cresswell.quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes: >The SVID says "su will execute a new environment with the real and >effective user ID set to that of the specified user", though it remains >completely quiet about the group id. However, not all UNIX systems are >System V. Anyone know which variants do what? SunOS version 4.0 "su" sets both the real and effective userid, and both real and effective group id; I have not investigated what it does to the group list. I keep on hand a nifty little utility called "be" that sets only the effective userid; it comes in handy quite often. -- Greg Limes [limes@sun.com] frames to /dev/fb