forked from dev-sec/ansible-collection-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dev-sec#217 from dev-sec/remove_eol_os
remove eol'd OS and add new
- Loading branch information
Showing
5 changed files
with
48 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
|
||
modprobe_package: 'module-init-tools' | ||
auditd_package: 'audit' | ||
|
||
os_packages_pam_ccreds: 'pam_ccreds' | ||
os_packages_pam_passwdqc: 'pam_passwdqc' | ||
os_packages_pam_cracklib: 'pam_cracklib' | ||
os_nologin_shell_path: '/sbin/nologin' | ||
|
||
# Different distros use different standards for /etc/shadow perms, e.g. | ||
# RHEL derivatives use root:root 0000, whereas Debian-based use root:shadow 0640. | ||
# You must provide key/value pairs for owner, group, and mode if overriding. | ||
os_shadow_perms: | ||
owner: root | ||
group: root | ||
mode: '0000' | ||
|
||
os_passwd_perms: | ||
owner: root | ||
group: root | ||
mode: '0644' | ||
|
||
os_env_umask: '027' | ||
|
||
os_auth_uid_min: 1000 | ||
os_auth_gid_min: 1000 | ||
os_auth_sys_uid_min: 201 | ||
os_auth_sys_uid_max: 999 | ||
os_auth_sys_gid_min: 201 | ||
os_auth_sys_gid_max: 999 |