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

2015-01-22 Thread Sina Owolabi
Thank you! Everything is bash-ful again. On Thu Jan 22 2015 at 12:12:35 PM Alexander Bokovoy wrote: > On Thu, 22 Jan 2015, Sina Owolabi wrote: > >Sorry I was misunderstood. The umm.../bin/sh? Was me being sheepish after > >causing all the ruckus this morning. > >-sh-4.1$ getent passwd sina > >sin

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

2015-01-22 Thread Alexander Bokovoy
On Thu, 22 Jan 2015, Sina Owolabi wrote: Sorry I was misunderstood. The umm.../bin/sh? Was me being sheepish after causing all the ruckus this morning. -sh-4.1$ getent passwd sina sina:*:39210:39210:Sina Owolabi:/home/sina:/bin/sh How do I change the default to /bin/bash? If it is IPA u

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

2015-01-22 Thread Sina Owolabi
Sorry I was misunderstood. The umm.../bin/sh? Was me being sheepish after causing all the ruckus this morning. -sh-4.1$ getent passwd sina sina:*:39210:39210:Sina Owolabi:/home/sina:/bin/sh How do I change the default to /bin/bash? On Thu Jan 22 2015 at 11:37:03 AM Alexander Bokovoy wrot

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

2015-01-22 Thread Alexander Bokovoy
On Thu, 22 Jan 2015, Sina Owolabi wrote: Umm... /bin/sh? Yes, POSIX shell. So, what do you get as an output with $ getent passwd sina ? Bash emulates POSIX shell with a specific behavior (you can read bash manual page, chapter INVOCATION, starting with "If bash is invoked with the name sh, i

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

2015-01-22 Thread Sina Owolabi
Umm... /bin/sh? On Thu Jan 22 2015 at 11:27:36 AM Alexander Bokovoy wrote: > On Thu, 22 Jan 2015, Sina Owolabi wrote: > >Hi > >And thanks for the replies.. > >The default bash files are represented in the user's home: > >[root@node5 ~]# ls -la /home/sina/ > >total 24 > >drwx--. 2 sina sina 4

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

2015-01-22 Thread Alexander Bokovoy
On Thu, 22 Jan 2015, Sina Owolabi wrote: Hi And thanks for the replies.. The default bash files are represented in the user's home: [root@node5 ~]# ls -la /home/sina/ total 24 drwx--. 2 sina sina 4096 Jan 22 09:24 . drwxr-xr-x. 8 root root 4096 Jan 22 09:23 .. -rw---. 1 sina sina5 Jan

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

2015-01-22 Thread Sina Owolabi
Hi And thanks for the replies.. The default bash files are represented in the user's home: [root@node5 ~]# ls -la /home/sina/ total 24 drwx--. 2 sina sina 4096 Jan 22 09:24 . drwxr-xr-x. 8 root root 4096 Jan 22 09:23 .. -rw---. 1 sina sina5 Jan 22 09:24 .bash_history -rw---. 1 sina

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

2015-01-22 Thread Jakub Hrozek
On Thu, Jan 22, 2015 at 10:12:09AM +0100, Jakub Hrozek wrote: > > [root@node5 ~]# su - sina > > One note -- calling su - sina bypasses the PAM stack mostly Sorry, this was really inaccurate. I meant to say "calling su - sina from root". The reason is the pam_rootok.so module in the PAM stack retu

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

2015-01-22 Thread Jakub Hrozek
On Thu, Jan 22, 2015 at 08:25:33AM +, 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

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

2015-01-22 Thread Petr Spacek
On 22.1.2015 09:25, 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 > re

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

2015-01-22 Thread Sina Owolabi
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 r