Get shell of another user

To switch to another user’s shell, run:

sudo -i -u USERNAME

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