Change login shell

Make Ubuntu more to your liking

Sometimes one needs to change the login shell.

It doesn’t happen to often, especially on Ubuntu, because of the bash being default. And although it’s not the most user friendly shell it does its job well.

When the time comes to change that default setting there’s quick way to do it.

Unfortunately you need root permissions to make it permanent. Either being able to login as root or being in sudo group.

The magical command is chsh, which is short for change login shell.

The following bit will change login shell to bash:

$ sudo chsh lukasz -s /bin/bash

Without specifying the user (lukasz in that case) you will affect current user.