SVN: rc-scripts/trunk/rc.d/init.d/killall
glen
glen at pld-linux.org
Thu Dec 7 22:32:50 CET 2006
Author: glen
Date: Thu Dec 7 22:32:50 2006
New Revision: 8079
Modified:
rc-scripts/trunk/rc.d/init.d/killall
Log:
As we don't source functions, we must set sane PATH to ensure security
Modified: rc-scripts/trunk/rc.d/init.d/killall
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/killall (original)
+++ rc-scripts/trunk/rc.d/init.d/killall Thu Dec 7 22:32:50 2006
@@ -8,6 +8,9 @@
# Bring down all unneeded services that are still running (there shouldn't
# be any, so this is just a sanity check)
+# First set up a default search path.
+export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+
case "$1" in
start*)
exit 0
More information about the pld-cvs-commit
mailing list