I want to enable some pam modules automatically in a script. mkhomedir is disabled as default. If you start pam-auth-update, there is no check mark in
Create home directory on login
How can I change this?
There is a configuration file
/usr/share/pam-configs/my_mkhomedir
containing
Name: activate mkhomedir
Default: no
Priority: 900
Session-Type: Additional
Session:
required pam_mkhomedir.so umask=002 skel=/etc/skel
Changing the priority value changes the ordering in pam-auth-update, but Default: yes does not enable it as default. Is there any other option to enable this module as default?