Hi all. We have pam entry (below) and we wanna change the umask when a new homedir for an existing user is created. we modified the umaks but doesnt work. We have sssd integrated with freeIPA to manage all user etc.
Any clue?
session optional pam_oddjob_mkhomedir.so umask=0770
Cheers
Alfredo De Luca via FreeIPA-users wrote:
Hi all. We have pam entry (below) and we wanna change the umask when a new homedir for an existing user is created. we modified the umaks but doesnt work. We have sssd integrated with freeIPA to manage all user etc.
Any clue?
session optional pam_oddjob_mkhomedir.so umask=0770
From pam_oddjob_mkhomedir(8):
The location of the skeleton directory and the default umask are deter‐ mined by the configuration for the corresponding service in oddjobd- mkhomedir.conf, so they can not be specified as arguments to this mod‐ ule.
rob
Thanks Rob. So where, in the oddjobd-*mkhomedir.conf , *can I add the umask I want? Cheers
On Wed, Jun 6, 2018 at 5:43 PM Rob Crittenden rcritten@redhat.com wrote:
Alfredo De Luca via FreeIPA-users wrote:
Hi all. We have pam entry (below) and we wanna change the umask when a new
homedir for an existing user is created. we modified the umaks but doesnt work.
We have sssd integrated with freeIPA to manage all user etc.
Any clue?
session optional pam_oddjob_mkhomedir.so umask=0770
From pam_oddjob_mkhomedir(8):
The location of the skeleton directory and the default umask are deter‐ mined by the configuration for the corresponding service in oddjobd- mkhomedir.conf, so they can not be specified as arguments to this mod‐ ule.
rob
freeipa-users@lists.fedorahosted.org