diff options
author | cjc <cjc@FreeBSD.org> | 2002-03-16 20:01:25 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2002-03-16 20:01:25 +0000 |
commit | 96faff292d8b1b0bfcebddfb2f70f375ad79fec7 (patch) | |
tree | b3d4f9ca446ea6ce441044066ac4d2998fb6d963 | |
parent | 08a17b70d350493cbc0cb98ff93c36f0d46f3206 (diff) | |
download | FreeBSD-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
-rw-r--r-- | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |