evolinux-base: use "evolinux_internal_group" for SSH authentication

This commit is contained in:
Jérémy Lecour 2019-09-22 22:26:21 +02:00
parent 8f868b8612
commit b31159c9d2
2 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
### Changed ### Changed
* elasticsearch: listen on local interface only by default * elasticsearch: listen on local interface only by default
* evolinux-base: use "evolinux_internal_group" for SSH authentication
* squid: split systemd tasks into own file * squid: split systemd tasks into own file
### Fixed ### Fixed

View file

@ -11,7 +11,7 @@
# only the first instance of the keyword is applied. » # only the first instance of the keyword is applied. »
# #
# We want to allow any user from a list of IP addresses to login with password, # We want to allow any user from a list of IP addresses to login with password,
# but users of the "{{ evolinux_ssh_group }}" group can't login with password from other IP addresses # but users of the "{{ evolinux_internal_group }}" group can't login with password from other IP addresses
- name: "Security directives for Evolinux (Debian 10 or later)" - name: "Security directives for Evolinux (Debian 10 or later)"
blockinfile: blockinfile:
@ -20,7 +20,7 @@
block: | block: |
Match Address {{ evolinux_ssh_password_auth_addresses | join(',') }} Match Address {{ evolinux_ssh_password_auth_addresses | join(',') }}
PasswordAuthentication yes PasswordAuthentication yes
Match Group {{ evolinux_ssh_group }} Match Group {{ evolinux_internal_group }}
PasswordAuthentication no PasswordAuthentication no
insertafter: EOF insertafter: EOF
validate: '/usr/sbin/sshd -t -f %s' validate: '/usr/sbin/sshd -t -f %s'