Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pacbell!rtech!llama!jas From: jas@llama.rtech.UUCP (Jim Shankland) Newsgroups: comp.unix.wizards Subject: Re: access(2) (was: Writing to A NON-Existing File in "C") Message-ID: <2001@rtech.UUCP> Date: 22 Apr 88 19:38:19 GMT References: <9654@jplgodo.UUCP> <14020030@hpisod2.HP.COM> <887@cresswell.quintus.UUCP> <975@unmvax.unm.edu> Sender: news@rtech.UUCP Reply-To: jas@llama.UUCP (Jim Shankland) Organization: Eddie Enterprises Lines: 26 In article <975@unmvax.unm.edu> mike@turing.UNM.EDU.UUCP (Michael I. Bushnell) writes: >There is another way [a program] can run under suid >conditions: > >% whoami >foo >% su >Password: ># nifty_program > >Note that nifty program will now have REAL uid foo and EFFECTIVE uid >root. Nope. This seems to be a common misconception. su alters your real uid as well as your effective uid. Jim Shankland ..!ihnp4!cpsc6a!\ sun!rtech!jas ..!ucbvax!mtxinu!/ And I will show you something different from either Your shadow at morning striding behind you Or your shadow at evening rising to meet you; I will show you fear in a handful of dust. -- T. S. Eliot