access(2) (was: Writing to A NON-Existing File in "C")

Jim Shankland jas at llama.rtech.UUCP
Sat Apr 23 05:38:19 AEST 1988


In article <975 at unmvax.unm.edu> mike at 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



More information about the Comp.unix.wizards mailing list