mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
added system account enhancement 5.4.2.7 thanks to @Thulium-Drake
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
44b712fdf9
commit
f02a9d442f
2 changed files with 6 additions and 0 deletions
|
|
@ -992,6 +992,11 @@ rhel9cis_futurepwchgdate_autofix: true
|
|||
# 5.4.2.x
|
||||
rhel9cis_root_umask: '0027' # 0027 or more restrictive
|
||||
|
||||
## Control 5.4.2.7 - Ensure system accounts are secured | Set nologin
|
||||
# The system users on this list are allowed to have a shell (e.g. applications
|
||||
# that require a shell to function)
|
||||
rhel9cis_system_users_shell: []
|
||||
|
||||
## Control 5.4.3.2 - Configuring user shell timeout
|
||||
# This dictionary is related to ensuring the rule about user shell timeout
|
||||
# This variable represents the amount of seconds a command or process is allowed to
|
||||
|
|
|
|||
|
|
@ -199,6 +199,7 @@
|
|||
when:
|
||||
- rhel9cis_rule_5_4_2_7
|
||||
- "item.id not in prelim_interactive_usernames.stdout"
|
||||
- item.id not in rhel9cis_system_users_shell
|
||||
- "'root' not in item.id"
|
||||
- rhel9cis_disruption_high
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue