aboutsummaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-03-16 20:01:25 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-03-16 20:01:25 +0000
commit903163ac3e1724978a60a1c0b5ae2f9dcbadf59f (patch)
treeb3d4f9ca446ea6ce441044066ac4d2998fb6d963 /etc/rc
parentd27504cd285852a2ab97776b9ef630520c9aef63 (diff)
downloadsrc-903163ac3e1724978a60a1c0b5ae2f9dcbadf59f.tar.gz
src-903163ac3e1724978a60a1c0b5ae2f9dcbadf59f.zip
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
Notes
Notes: svn path=/head/; revision=92441
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 f02cbaaa1c6f..da51c4340be8 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