Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treat securetty config as an array #3

Merged
merged 1 commit into from
May 12, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/ansible-os-hardening/templates/securetty.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
2 changes: 1 addition & 1 deletion roles/ansible-os-hardening/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
Expand Down