summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2002-03-16 20:01:25 +0000
committercjc <cjc@FreeBSD.org>2002-03-16 20:01:25 +0000
commit96faff292d8b1b0bfcebddfb2f70f375ad79fec7 (patch)
treeb3d4f9ca446ea6ce441044066ac4d2998fb6d963 /etc/rc
parent08a17b70d350493cbc0cb98ff93c36f0d46f3206 (diff)
downloadFreeBSD-src-96faff292d8b1b0bfcebddfb2f70f375ad79fec7.zip
FreeBSD-src-96faff292d8b1b0bfcebddfb2f70f375ad79fec7.tar.gz
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
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index f02cbaa..da51c43 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud