fix hardening

This commit is contained in:
nazunalika 2021-01-21 15:05:35 -07:00
parent a283fd378f
commit d20f9a5e61
Signed by: label
GPG Key ID: CB6D9706D138D190
2 changed files with 6 additions and 4 deletions

View File

@ -35,18 +35,18 @@
- name: Override system-auth and password-auth - name: Override system-auth and password-auth
copy: copy:
src: "etc/authselect/custom/sssd-aoc/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-system-auth" src: "etc/authselect/custom/sssd-rocky/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-system-auth"
dest: "{{ item }}" dest: "{{ item }}"
owner: root owner: root
group: root group: root
mode: '0644' mode: '0644'
loop: loop:
- /etc/authselect/custom/sssd-aoc/system-auth - /etc/authselect/custom/sssd-rocky/system-auth
- /etc/authselect/custom/sssd-aoc/password-auth - /etc/authselect/custom/sssd-rocky/password-auth
- name: Select New Profile - name: Select New Profile
command: > command: >
/usr/bin/authselect select custom/sssd-aoc /usr/bin/authselect select custom/sssd-rocky
without-nullok without-nullok
with-faillock with-faillock
with-mkhomedir with-mkhomedir

View File

@ -0,0 +1,2 @@
---
ipatype: server