N
N
nepster-web2014-11-22 16:13:41
linux
nepster-web, 2014-11-22 16:13:41

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.
3cc9799349844032ab1156d9d1bae1b2.png
At the same time, if you log in as root or enter sudo su, then everything is fine
4253dfd244bb4d8f8990736e1f8734c3.png
. Tell me please, what is the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2014-11-22
@nepster-web

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

A
Armenian Radio, 2014-11-22
@gbg

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 question

Ask a Question

731 491 924 answers to any question