Change default login shell for a user

Suppose you need to do some work as the defaullt web user. For me, thats vu2009. So you need to enable ssh login for the user.

Checking /etc/passwd, I see that shell is disabled by having the default shell for the user as /bin/false.

So enable a bash shell by running:

sudo chsh -s /bin/bash vu2009

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.