Change default shell? SunOS 5.9

Hi,

I am working off of a SunOS 5.9 box for work and they set up my account with /bin/ksh (Korn Shell) as the default shell.

I am used to using the bash shell, is there an easy way to change Bash to be my default?

chsh doesn't seem to be installed on the box.

I also tried putting 'exec bash' at the end of my .profile but it seems like it screws up all my aliases. Something I'm doing wrong?

Thanks!

[448 byte] By [sitheris] at [2007-11-25 22:58:12]
# 1
I do not know if it helps but try to insert the following line to .profile:<i>SHELL=/usr/bin/bash</i>exec bashMartin
MartinDJ at 2007-7-5 17:13:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Hi,

You need to install the pkg - bash-3.0-sol9-intel-local.gz if on Intel or - bash-3.0-sol9-sparc-local.gz - if on Sparc - from <a href="http://www.sunfreeware.com." target="_blank">http://www.sunfreeware.com.</a> The SunOS 5.9 does not come with this great shell. At last issue command when logged as root usermod -s /usr/local/bash <your user name>. You are done.

ref: <a href="http://everythingsolaris.org/articles/mtbays/frameset.html" target="_blank">http://everythingsolaris.org/articles/mtbays/frameset.html&l t;/a>

Good Luck

tchupakabra at 2007-7-5 17:13:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...