mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
treat securetty config as an array
This commit is contained in:
parent
fd995bfffe
commit
226c2761f8
2 changed files with 2 additions and 2 deletions
|
@ -3,4 +3,4 @@
|
|||
|
||||
# A list of TTYs, from which root can log in
|
||||
# see `man securetty` for reference
|
||||
{{ os_auth_root_ttys }}
|
||||
{{ "\n".join(os_auth_root_ttys) }}
|
||||
|
|
|
@ -17,7 +17,7 @@ os_auth_timeout: 60
|
|||
os_auth_allow_homeless: false
|
||||
os_auth_pam_passwdqc_enable: true
|
||||
os_auth_pam_passwdqc_options: 'disabled,disabled,16,12,8'
|
||||
os_auth_root_ttys: '%w(console tty1 tty2 tty3 tty4 tty5 tty6)'
|
||||
os_auth_root_ttys: [console, tty1, tty2, tty3, tty4, tty5, tty6]
|
||||
os_auth_uid_min: 1000
|
||||
os_auth_gid_min: 1000
|
||||
os_chfn_restrict: ''
|
||||
|
|
Loading…
Reference in a new issue