To change the shell used by the admin user, run the following commands:
First, list the shells available:
[[email protected] ~]$ chsh -l
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/crossbeam/bin/cliLogged in as the root user, change the shell that admin is using:
[[email protected] admin]# chsh -s /crossbeam/bin/cli admin
Changing shell for admin.
Shell changed.If you have inadvertently changed the root user to use the /crossbeam/bin/cli shell you can run the following command from the CLI to change it back:POD2# un "chsh -s /bin/bash root"
Changing shell for root.
Shell changed.