[or-cvs] r20553: {projects} Fix paths and sysctl commands. (projects/misc-sysadmin)
mikeperry at seul.org
mikeperry at seul.org
Sun Sep 13 23:18:56 UTC 2009
Author: mikeperry
Date: 2009-09-13 19:18:56 -0400 (Sun, 13 Sep 2009)
New Revision: 20553
Modified:
projects/misc-sysadmin/grsec-prep.sh
Log:
Fix paths and sysctl commands.
Modified: projects/misc-sysadmin/grsec-prep.sh
===================================================================
--- projects/misc-sysadmin/grsec-prep.sh 2009-09-13 23:16:22 UTC (rev 20552)
+++ projects/misc-sysadmin/grsec-prep.sh 2009-09-13 23:18:56 UTC (rev 20553)
@@ -33,10 +33,11 @@
echo "/usr/sbin/genhomedircon"
echo "/sbin/fixfiles relabel"
echo
-echo "# And don't forget to turn selinux into enforceing mode and disable module loading:"
+echo "# And don't forget to turn selinux into enforceing mode and disable"
+echo "# module loading after each reboot:"
echo
-echo "/sbin/setenforce 1"
-echo "/sbin/sysctl kernel.grsecurity.disable_modules = 1"
-echo "/sbin/sysctl kernel.grsecurity.grsec_lock = 1"
+echo "/usr/sbin/setenforce 1"
+echo "/sbin/sysctl kernel.grsecurity.disable_modules=1"
+echo "/sbin/sysctl kernel.grsecurity.grsec_lock=1"
echo
More information about the tor-commits
mailing list