I am using Ubuntu 14.04 and my default shell is /bin/sh
. I'd like to change it to /bin/bash
.
I read through a couple solutions (here's one), but nothing seems to work so far.
I have tried sudo chsh -s /bin/bash [username]
and chsh
followed by /bin/bash
, but I am getting the following error:
chsh: user [username] does not exist in /etc/passwd
I have also tried manually editing that file. I have sudo permissions, so it's not a lack of access.
Does anyone have any suggestions? Or can anyone explain how I can add my username /etc/passwd
?
I am working on a university machine connected to the department's server, but this local machine is solely for my use (i.e. I have control/permissions over everything local).