---Reply to mail from Ryan King about /sbin in root's $PATH?
> On Thu, Jun 08, 2000 at 01:17:51AM -0600, Chris Abbey wrote:

> My conclusion is that it'd be nice to find the first instance of "su" and see
> what the author says it means.  Nothing like Unix history to get the old brain
> tied up in knots. =)

>From the v5unix (very early PDP11 unix) souce of su.c

/* su -- become super-user */

The source is very short, simply asked for password, and ensured it
matched root's password, then setuid 0, and exec'ed "/bin/sh -"

I don't know about the old PDP7 version.

Modern versions allow switching to any user.


---End reply

Robert Cawley
ANSTO, PMB 1 Menai 2234, NSW, Australia
Phone: +61 2 9717 3049     Fax: +61 2 9717 9525
Email: [EMAIL PROTECTED]




-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to