mkhome must happen before creating the mount point. More privacy.
This commit is contained in:
parent
9c3d5e5f2e
commit
7828de3347
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@
|
|||
- name: enable pam_mkhomedir.so
|
||||
lineinfile:
|
||||
dest: /etc/pam.d/common-session
|
||||
line: "session optional pam_mkhomedir.so"
|
||||
insertafter: "# end of pam-auth-update config"
|
||||
line: "session optional pam_mkhomedir.so umask=0027"
|
||||
insertbefore: "session optional pam_mount.so"
|
||||
|
||||
- name: configure pam_mount
|
||||
blockinfile:
|
||||
|
|
Loading…
Add table
Reference in a new issue