Just updated to 18.04.1 I use Terminal only. When I do an su to one my users that runs a game, I only get a $ and no name of the user and does not show current location. Also, tab autocomplete will not work for those users either. I can still navigate just fine if I manually type everything. Tab auto complete works for my regular user as well as root.

  • 1
    What if you try su - username ? – Ravexina Aug 16 '18 at 21:02
  • Nope, that doesn't work either. – Xor Aug 16 '18 at 21:02
  • What is the output of getent passwd username | cut -f7 -d:? also which bash? – Ravexina Aug 16 '18 at 21:03
  • I get no output from getent passwd username | cut -f7 -d: And which bash says /bin/bash – Xor Aug 16 '18 at 21:15
  • you have to place your username instead of username, ex: getent passwd ravexina | cut -f7 -d: – Ravexina Aug 16 '18 at 21:16


getent passwd username | cut -f7 -d:

if you get an empty result it means your user does not have a default shell thus it is using /bin/sh by default. And that is why it looks like what you are describing.


sudo chsh -s /bin/bash username

to fix the issue

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.