Answer the question
In order to leave comments, you need to log in
DEBIAN, why is the path not shown and the previous commands do not work on behalf of the user?
Created a new user, added him to the list of sudoers.
There were 2 problems:
1) Instead of the folder path, just $ is shown
2) If you use the arrows to enter previous commands, there are krakozyabry.
At the same time, if you log in as root or enter sudo su, then everything is fine
. Tell me please, what is the problem?
Answer the question
In order to leave comments, you need to log in
Read about the shell ( sh, bash, dash ), environment variables, and user creation.
In your case, assign this user a default shell, such as bash, or alternatively, after logging into the console, type "bash" each time
Read:
How to make the Bash command line prompt different...
Customizing bash
Your prompt format is wrong or not configured.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question