Thursday, March 26, 2009

Change default shell in Linux

There is a simple command to do it: chsh [options] [login]. As an option you have to provide -s /path/to/new/shell. The /etc/shells file contains the list of currently available shells in the system.