SVN: rc-scripts/trunk/rc.d/init.d/local

glen glen at pld-linux.org
Thu Dec 7 22:32:15 CET 2006


Author: glen
Date: Thu Dec  7 22:32:14 2006
New Revision: 8078

Modified:
   rc-scripts/trunk/rc.d/init.d/local
Log:
As we don't source functions, we must set sane PATH to ensure security

Modified: rc-scripts/trunk/rc.d/init.d/local
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/local	(original)
+++ rc-scripts/trunk/rc.d/init.d/local	Thu Dec  7 22:32:14 2006
@@ -9,6 +9,9 @@
 #
 # $Id$
 
+# First set up a default search path.
+export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+
 # See how we were called.
 case "$1" in
   start)


More information about the pld-cvs-commit mailing list