Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-31 Thread Yogesh Sharma
Thanks Simo and Jakub. -Yogesh Sharma (Sent from my HTC) On 31-Aug-2015 5:10 pm, "Jakub Hrozek" wrote: > On Tue, Aug 25, 2015 at 09:42:44AM -0400, Simo Sorce wrote: > > On Tue, 2015-08-25 at 15:30 +0530, Yogesh Sharma wrote: > > > Hi Simo, > > > > > > We are using

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-31 Thread Jakub Hrozek
On Tue, Aug 25, 2015 at 09:42:44AM -0400, Simo Sorce wrote: > On Tue, 2015-08-25 at 15:30 +0530, Yogesh Sharma wrote: > > Hi Simo, > > > > We are using"session optional *pam_oddjob_mkhomedir*.so > > umask=0077" > > > > and included in > > password-auth-ac and password-auth > > I

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-25 Thread Yogesh Sharma
Hi Simo, We are usingsession optional *pam_oddjob_mkhomedir*.so umask=0077 *Best Regards,* *__* *Yogesh Sharma* *Email: yks0...@gmail.com yks0...@gmail.com | Web: www.initd.in http://www.initd.in/ * *RHCE, VCE-CIA, RACKSPACE CLOUD U

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-25 Thread Yogesh Sharma
Hi Simo, We are usingsession optional *pam_oddjob_mkhomedir*.so umask=0077 and included in password-auth-ac and password-auth *Best Regards,* *__* *Yogesh Sharma* *Email: yks0...@gmail.com yks0...@gmail.com | Web: www.initd.in

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-25 Thread Simo Sorce
On Tue, 2015-08-25 at 15:30 +0530, Yogesh Sharma wrote: Hi Simo, We are usingsession optional *pam_oddjob_mkhomedir*.so umask=0077 and included in password-auth-ac and password-auth I guess you should read the pam_oddjob_mkhomedir manpage which will tell you that the way you

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-23 Thread Simo Sorce
On Sun, 2015-08-23 at 12:06 +0530, Yogesh Sharma wrote: Typo: Umask set is 0077, then the permission should be 700, though we are getting 755. Where are you setting this mask ? And what pam helper do you use to create the home dirs ? pam_mkhomedir ? ot pam_oddjob_mkhomedir ? Simo. *Best

[Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-23 Thread Yogesh Sharma
Hi, FreeIPA users are getting their home directory with default permission of 755 instead of 700. I have checked the pam.d configuration and the umask set there for mkhomedir.so is 0700, however home dir permission are not according to this. Is there somewhere else we need to add the umask to

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-23 Thread Yogesh Sharma
Typo: Umask set is 0077, then the permission should be 700, though we are getting 755. *Best Regards,* *__* *Yogesh Sharma* *Email: yks0...@gmail.com yks0...@gmail.com | Web: www.initd.in http://www.initd.in/ * *RHCE, VCE-CIA, RACKSPACE CLOUD U