Solaris Profile

on Aug. 31, 2014, 5:06 p.m.

Today I have been screwing around with my Solaris box. Now I will admit I prefer Linux to Solaris so I have been making an effort to at least get my bash shell straightened out. To do this, I did the following:

vi /etc/passwd
...
root:x:0:0:Super-User:/root:/usr/bin/bash
...

vi /root/.profile

export PS1="\u@\h:\w # "
export TERM=xterm
export SHELL=/usr/bin/bash
exec $SHELL