Searched hist:154869 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient-scriptdiff 154869 Thu Jan 26 19:05:39 MST 2006 brooks Fix rev 1.12.

/tmp may not be writeable yet when dhclient is first run via
/etc/rc.d/netif so using it may not work. Also, writing to a
predictable file in /tmp as root is a really bad idea since a malicious
user may be able to win a race and insert a symlink which will allow
them to cause any file to be overwritten. To solve these problems,
create the tempory file in /var/run which will exist this early and is
writable only by root.

Security: Local risk if users can cause dhclient to run on demand
(such as by unplugging and replugging the network cable).

Completed in 43 milliseconds