Question: I want to know how I can run `bash` automatically when I log into my AIX server. How can I do that without having to type `bash` every time I log into my AIX server?

Answer: 
Thomas reminded me of this. I use several AIX servers and not all servers have bash. I do prefer bash though. I put this in my .profile. 

```
case $- in
  *i*)
    # Interactive session. Try switching to bash.
    if [ -z "$BASH" ]; then # do nothing if running under bash already
      bash=$(command -v bash)
      if [ -x "$bash" ]; then
        export SHELL="$bash"
        exec "$bash"
      fi
    fi
esac

```
Otherwise is using 'smitty user' utility under root permission.

Go to "Change characteristics of a user"

Type the username and verify the value on "Initial Program" field.

On this, you can change as you consider (/usr/bin/xxxx).

Edu.