Add new checks (blank for now)

This commit is contained in:
Thibault Ayanides
2020-12-22 14:42:45 +01:00
parent 38ca43c125
commit 7f990b5e53
39 changed files with 1233 additions and 0 deletions

View File

@ -12,9 +12,12 @@
set -e # One error, it's over
set -u # One variable unset, it's over
# shellcheck disable=2034
HARDENING_LEVEL=2
# shellcheck disable=2034
DESCRIPTION="Check that any password that may exist in /etc/shadow is SHA512 hashed and salted"
CONF_FILE="/etc/pam.d/common-password"
CONF_LINE="^\s*password\s.+\s+pam_unix\.so\s+.*sha512"