title: How do I change my default shell in Ubuntu when not in /etc/passwd?
body: <p>I am using Ubuntu 14.04 and my default shell is <code>/bin/sh</code>. I'd like to change it to <code>/bin/bash</code>.</p>
  
  <p>I read through a couple solutions (<a href="https://superuser.com/questions/46748/how-do-i-make-bash-my-default-shell-on-ubuntu">here's one</a>), but nothing seems to work so far.</p>
  
  <p>I have tried <code>sudo chsh -s /bin/bash [username]</code> and <code>chsh</code> followed by <code>/bin/bash</code>, but I am getting the following error:</p>
  
  <p><code>chsh: user [username] does not exist in /etc/passwd</code></p>
  
  <p>I have also tried manually editing that file. I have sudo permissions, so it's not a lack of access.</p>
  
  <p>Does anyone have any suggestions? Or can anyone explain how I can add my username <code>/etc/passwd</code>?</p>
  
  <p>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).</p>