Answer the question
In order to leave comments, you need to log in
Is it possible that when connecting via SSH to the server by default, the user was already in a certain folder?
useradd test
Hello, tell me please, I created a /home/test
user
on the server with the command
/var/www/site/ru/
:
Answer the question
In order to leave comments, you need to log in
You can add cd /var/www/site/ru (.profile, .bashrc) in the user profile
You can change the user's home directory in /etc/passwd
depending on what you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question