Only put standard FreeBSD directories in the PATH. If the

administrator wishes to run commands outside of the PATH, he should
use a full pathname for the executable or set the PATH as appropriate
in any local startup scripts.

PR:		misc/35770
This commit is contained in:
Crist J. Clark 2002-03-16 20:01:25 +00:00
parent d27504cd28
commit 903163ac3e

2
etc/rc
View File

@ -49,7 +49,7 @@ trap : 3 # shouldn't be needed
bootmode=$1
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH
# BOOTP diskless boot. We have to run the rc file early in order to