evolinux-base: Corriger autorisation pour evolinux_user

Cas configuration SSH séparée. Ticket #74636.
This commit is contained in:
Alexis Ben Miloud--Josselin 2023-10-11 09:55:56 +02:00
parent 3347ac4271
commit a80076a5ea
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* postfix: add missing `localhost.$mydomain` to `mydestination`
* redis: replace erroneous `ini_file` module for Munin config, fix dedicated Munin config filename (z-XXX).
* evolinux-base: use lineinfile instead of replace under root task
* evolinux-base: Corriger autorisation pour evolinux_user
### Removed

View File

@ -36,6 +36,7 @@
- name: "Add AllowUsers sshd directive for current user"
ansible.builtin.lineinfile:
dest: /etc/ssh/sshd_config.d/allow_evolinux_user.conf
create: yes
line: "AllowUsers {{ logname.stdout }}"
insertafter: 'Subsystem'
validate: '/usr/sbin/sshd -t -f %s'