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.
- Loading branch information
Sebastian Gumprich
committed
Aug 6, 2017
1 parent
053e18e
commit d40b7ac
Showing
4 changed files
with
31 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
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 0600, 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: "0600" | ||
|
||
sysctl_rhel_config: | ||
# Syncookies is used to prevent SYN-flooding attacks. | ||
net.ipv4.tcp_syncookies: 1 | ||
|
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