0

When you log in with the standard pi user in commandline, you see like pi@hostname and after that the location path you're in. But when I create a new user and log in into that, that line disappears... How can I get that back?

1
  • What happens if you type bash ... What is the output of cat /etc/passwd/ |grep newuser ... the last colon separated field shows the default shell for that user. Dec 22, 2017 at 0:38

1 Answer 1

1

It might be that the necessary .bashrc code is not in the new user's home directory. Check out my answer to a similar question here for a possible solution:

Why is my username in the terminal not green

Good luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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