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

Alexander Bokovoy abokovoy at redhat.com
Thu Jan 22 10:27:31 UTC 2015


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 at 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 sina    5 Jan 22 09:24 .bash_history
>-rw-------. 1 sina sina   18 Jan 22 09:23 .bash_logout
>-rw-------. 1 sina sina  176 Jan 22 09:23 .bash_profile
>-rw-------. 1 sina sina  124 Jan 22 09:23 .bashrc
>
>And yes, it does ask for a password if I try to login as another
>non-priviledged user.
>[root at node5 ~]# su - hofozor
>-sh-4.1$ su - sina
>Password:
>-sh-4.1$
>-sh-4.1$ pwd
>/home/sina
I think this is correct behavior for a /bin/sh. What is your user's
shell?

-- 
/ Alexander Bokovoy




More information about the Freeipa-users mailing list