Sorry I was misunderstood. The umm.../bin/sh? Was me being sheepish after causing all the ruckus this morning.<br><div><div>-sh-4.1$ getent passwd sina</div><div>sina:*:392100000:392100000:Sina Owolabi:/home/sina:/bin/sh</div></div><div><br></div><div>How do I change the default to /bin/bash?</div><br><div class="gmail_quote">On Thu Jan 22 2015 at 11:37:03 AM Alexander Bokovoy <<a href="mailto:abokovoy@redhat.com">abokovoy@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 22 Jan 2015, Sina Owolabi wrote:<br>
>Umm... /bin/sh?<br>
Yes, POSIX shell. So, what do you get as an output with<br>
<br>
  $ getent passwd sina<br>
<br>
?<br>
<br>
Bash emulates POSIX shell with a specific behavior (you can read bash<br>
manual page, chapter INVOCATION, starting with "If bash is invoked with<br>
the name sh, it tries to mimic the startup behavior of  historical<br>
versions  of sh as closely as possible". In such case bash doesn't read<br>
own profile files and sets PS1 to something close to \s-\v\$ which is<br>
what you get in your sessions below:<br>
<br>
>> >[root@node5 ~]# su - hofozor<br>
>> >-sh-4.1$ su - sina<br>
>> >Password:<br>
>> >-sh-4.1$<br>
>> >-sh-4.1$ pwd<br>
>> >/home/sina<br>
<br>
--<br>
/ Alexander Bokovoy<br>
</blockquote></div>