Link to home
Start Free TrialLog in
Avatar of barthalamu
barthalamu

asked on

Can I make the root shell in Solaris 8 and 9 /bin/bash?

I have always heard to leave that the root shell should be /bin/sh, but I would like to change it to bash.  I think this would be okay, since bash is backwards compatible to sh in every way I can think of.  I just wanted to know if there are any reasons why I should not do this.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As Tintin said, don't do it!

But he also made a good suggestion in
https://www.experts-exchange.com/questions/20509368/sh-history-file-not-updating-very-urgent.html

However, you should only log in as root when you need to do administrative tasks, so don't make it too easy to use or you'll end up logging as root all the time - and it's very easy to trash the system by mistake if you are root ;-)
Avatar of barthalamu
barthalamu

ASKER

Thank you both for your help.  Also thanks for the reason why I have always heard not to use any other shell but sh, Tintin.  Also, my mistake, I should have said /sbin/sh instead of /bin/sh.  Thanks.