I want my default shell to change from ksh to bash and also want the ORACLE_HOME and other variable to be default set/exported upon default login.
$ bash
bash-4.1$ echo $SHELL
/bin/ksh
bash-4.1$ which bash
/bin/bash
bash-4.1$ whereis bash
bash: /bin/bash /usr/local/bin/bash /usr/share/man/man1/bash.1.gz
bash-4.1$ usermod -s /bin/bash username (replaced my username)
bash: usermod: command not found
bash-4.1$ exit
$ PATH=$PATH:/usr/sbin
$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/usr/bin:/usr/dev_infra/platform/bin:/usr/dev_infra/generic/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/ade/bin:/usr/sbin
$ usermod -s /bin/bash username
-ksh: usermod: not found [No such file or directory]
$ chsh -l
/bin/sh
/bin/bash
/sbin/nologin
/bin/ksh
/bin/tcsh
/bin/csh
/bin/dash
/bin/mksh
/bin/zsh
$ chsh -s /bin/bash
chsh: can only change local entries; use ypchsh instead.
$ ypchsh username
ypchsh: can't find the master ypserver: Internal NIS error
$ chsh -s /usr/local/bin/bash username
chsh: can only change local entries; use ypchsh instead.
$ echo $ORACLE_HOME
$