Displaying 2 results from an estimated 2 matches for "my_mkhomedir".
2019 Apr 08
3
home user
I inserted these directives template shell = /bin/bash and template
homedir = /home/%U the in smb.conf. What command do you use to create
the user with the relative home directory and shell?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL:
2019 Apr 08
0
home user
...> /etc/pam.d/common-session
> Edit /etc/pam.d/common-session, and add this line directly
> after session required pam_unix.so:
> session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
>
>
> And the way i would do this is :
> Create/edit : /usr/share/pam-configs/my_mkhomedir
> Add:
> Name: Activate mkhomedir
> Default: yes
> Priority: 900
> Session-Type: Additional
> Session:
> required pam_mkhomedir.so
> umask=0022 skel=/etc/skel
>
> Save, now run : pam-auth-update and enable : Activate mkhomedir.
>...