On Fri, Sep 26, 2014 at 2:27 PM, Paul Graydon <p...@paulgraydon.co.uk>
wrote:

> It's not as simple (or accurate) as that.  dhclient that runs on your
> machine to pick up IP addresses from a dhcp server runs as root, and uses
> bash directly (regardless of what yours or roots shell is).  I don't know
> what OS X does specifically*, *if they're running a patched version of
> dhclient or similar that doesn't explicitly call root.
>

There are more DHCP clients than just ISC dhclient. OS X uses something
completely different, as far as I can tell; most likely it's based around
launchd and uses Mach ports and other OS X-specific IPC instead of relying
on the environment, and data not transmitted via those probably goes via a
property list.

Notably, there is no dhclient executable anywhere on my 10.9 box.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to