summaryrefslogtreecommitdiffstats
path: root/salt/profile/seccheck/files
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-15 09:45:04 +0100
committerGeorg Pfuetzenreuter2023-01-15 09:45:04 +0100
commit2b40942a442a0f15b2d75289d4977a114cd81e72 (patch)
treef82a2d89b523fd9f323297f4b67384b9a722aa77 /salt/profile/seccheck/files
parentf1a4b0514c148d9b5477f5c2b11938445e4438b1 (diff)
downloadsalt-2b40942a442a0f15b2d75289d4977a114cd81e72.tar.gz
salt-2b40942a442a0f15b2d75289d4977a114cd81e72.tar.bz2
salt-2b40942a442a0f15b2d75289d4977a114cd81e72.zip
Import profiles/roles from salt-devel
- + renaming baseline to common Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt/profile/seccheck/files')
-rw-r--r--salt/profile/seccheck/files/etc/security/autologout.conf9
-rw-r--r--salt/profile/seccheck/files/etc/sysconfig/seccheck4
2 files changed, 13 insertions, 0 deletions
diff --git a/salt/profile/seccheck/files/etc/security/autologout.conf b/salt/profile/seccheck/files/etc/security/autologout.conf
new file mode 100644
index 0000000..e910a29
--- /dev/null
+++ b/salt/profile/seccheck/files/etc/security/autologout.conf
@@ -0,0 +1,9 @@
+{%- set header = salt['pillar.get']('managed_header_pound') -%}
+{{ header }}
+TTY_TIMEOUT=60
+DEFAULT_DELAY=60
+KILL_WAIT=20
+
+LOGOUTCONF=(
+"ssh idle:720 delay:30"
+)
diff --git a/salt/profile/seccheck/files/etc/sysconfig/seccheck b/salt/profile/seccheck/files/etc/sysconfig/seccheck
new file mode 100644
index 0000000..86eb9af
--- /dev/null
+++ b/salt/profile/seccheck/files/etc/sysconfig/seccheck
@@ -0,0 +1,4 @@
+{%- set header = salt['pillar.get']('managed_header_pound') -%}
+{{ header }}
+SECCHK_USER="root"
+START_SECCHK="yes"