V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m29s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-25 21:56:59 +01:00
parent 44a1f50bc9
commit b338569f14
8 changed files with 101 additions and 14 deletions

View File

@@ -72,6 +72,7 @@ SELINUXTYPE=default
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
EOF
### Trigger a full relabeling on the first boot of the target.
@@ -81,7 +82,7 @@ EOF
semanage port -a -t ssh_port_t -p tcp ${VAR_SSH_PORT}
"
### Enable PAM SELinux modules in common-session configs
### Enable PAM SELinux modules in common-session configs.
sed -i '/^session.*required.*pam_selinux\.so/d' "${TARGET}/etc/pam.d/common-session"
sed -i '/^session.*required.*pam_selinux\.so/d' "${TARGET}/etc/pam.d/common-session-noninteractive"