Use 'PermitRootLogin 'without-password''

Since https://review.openstack.org/#/c/518013/7 merged we can now set
the value of security_sshd_permit_root_login to be 'without-password',
we should do this in favour of 'yes'.

Change-Id: I624d29752fca5a8cbf4cab455f32f0116b99ff82
This commit is contained in:
Andy McCrae 2017-11-14 16:40:14 +00:00
parent 006d2666b1
commit d78e63a67d
1 changed files with 1 additions and 1 deletions

View File

@ -29,4 +29,4 @@ stig_version: rhel7
security_rhel7_enable_linux_security_module: "{{ ansible_os_family == 'RedHat' | ternary(false, true) }}"
# All our ansible tasks run as root user, we need to allow direct root login
security_sshd_permit_root_login: yes
security_sshd_permit_root_login: 'without-password'