pam create home directory on login

This commit is contained in:
Patrick Neff 2022-01-23 02:08:56 +01:00
parent e9b24ac2cd
commit e2bb2672f9
1 changed files with 6 additions and 0 deletions

View File

@ -73,5 +73,11 @@
- nscd
- sssd
- name: Enable pam_mkhomedirs
ansible.builtin.lineinfile:
regexp: ^session required pam_mkhomedir.so
line: session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
insertbefore: BOF
when:
- ldap_uris | length > 0