Changing Shells on IBM AIX

I found some answers as to how to change shells on Linux and FreeBSD but I am running AIX and was wondering if anyone knew the command for changing shells on this platform.

On AIX to list the available shells, at the Unix prompt, enter:

chsh

The system will then ask you if you really want to change your shell. If you press y and then Enter, you will be prompted to enter the full path of the new preferred shell. For example, to change to bash, enter:

/usr/local/bin/bash

Hi there,

A default shell can be changed in the subject file.

Thanks.

Note that changing your login shell can pose problems as in AIX the allowed login shells are listed in /etc/shells AND in /etc/security/login.defs. You must edit both files and make sure your desired shell is listed in there, otherwise you would lock yourself out from the system by changing your login shell.

bakunin