[Freeipa-users] Creating Home directories still presents as -sh-4.1$ after changing oddjob mask

Jakub Hrozek jhrozek at redhat.com
Thu Jan 22 09:12:09 UTC 2015


On Thu, Jan 22, 2015 at 08:25:33AM +0000, Sina Owolabi wrote:
> Hi List
> 
> I'm at a client who has no support subscriptions, using Red Hat IdM on RHEL
> 6.3 64-bit servers with ipa-server-3.0.0-37.el6.x86_64
> and ipa-client-3.0.0-42.el6.x86_64 .
> I've been playing around with autocreating user homedirs with the
> recommended incantations in the ipa-client-install and restarting oddjobd
> afterwards.
> I noticed that logging in on the clients as an IPA user creates the user
> homedir as:

Have you verified SSSD outputs the home directory value as you'd like it
to? Does "getent passwd sina" print the expected homedir?

> 
> [root at node5 ~]# su - sina

One note -- calling su - sina bypasses the PAM stack mostly and doesn't
ask for password. This might be OK for a quick test, but sometimes it
hides SSSD misconfigurations.

> Creating home directory for sina.
> -sh-4.1$
> I changed permissions on the user folder but it doesnt change anything, I
> changed the mask in /etc/oddjobd.conf.d/oddjobd-mkhomedir.conf
> to 0077 as advised after doing some googling.
> But nothing changes.
> 
> Please does anyone know why this is happening, and what can be done to fix?
> 
> Thanks!

> -- 
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go To http://freeipa.org for more info on the project




More information about the Freeipa-users mailing list