pam create home directory on login
This commit is contained in:
parent
e9b24ac2cd
commit
e2bb2672f9
|
@ -73,5 +73,11 @@
|
||||||
- nscd
|
- nscd
|
||||||
- sssd
|
- 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:
|
when:
|
||||||
- ldap_uris | length > 0
|
- ldap_uris | length > 0
|
||||||
|
|
Loading…
Reference in New Issue