aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/grsec/chroot.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-09 10:54:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-09 10:54:49 -0300
commit0ed40a837c25bf2c22eb04ec9ad1ae676c0d6e28 (patch)
tree3bf3f39ce86e2ceb73bc625d121eed2db52c2a00 /manifests/subsystem/grsec/chroot.pp
parent36c0149f58efb23e0cf3f50a6c649f0957366f5e (diff)
downloadpuppet-nodo-0ed40a837c25bf2c22eb04ec9ad1ae676c0d6e28.tar.gz
puppet-nodo-0ed40a837c25bf2c22eb04ec9ad1ae676c0d6e28.tar.bz2
Adds nodo::subsystem::grsec::chroot
Diffstat (limited to 'manifests/subsystem/grsec/chroot.pp')
-rw-r--r--manifests/subsystem/grsec/chroot.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/subsystem/grsec/chroot.pp b/manifests/subsystem/grsec/chroot.pp
new file mode 100644
index 0000000..16d6bb6
--- /dev/null
+++ b/manifests/subsystem/grsec/chroot.pp
@@ -0,0 +1,21 @@
+class nodo::subsystem::grsec::chroot {
+ nodo::subsystem::sysctl::entry { 'kernel.grsecurity.chroot_deny_chroot':
+ order => 'xx',
+ value => 0,
+ }
+
+ nodo::subsystem::sysctl::entry { 'kernel.grsecurity.chroot_deny_chmod':
+ order => 'xx',
+ value => 0,
+ }
+
+ nodo::subsystem::sysctl::entry { 'kernel.grsecurity.chroot_deny_mount':
+ order => 'xx',
+ value => 0,
+ }
+
+ nodo::subsystem::sysctl::entry { 'kernel.grsecurity.chroot_caps':
+ order => 'xx',
+ value => 0,
+ }
+}