Answer the question
In order to leave comments, you need to log in
How to create a new user in Ubuntu?
Hello. How can I create a new user in Ubuntu who would only have access to his home directory, for example /home/testuser
, and cannot move up the directory?
Answer the question
In order to leave comments, you need to log in
Create - sudo adduser testuser. And then you can just give rights to your /home/ only to yourself through chmod 770 -R myuser:myuser /home/myuser. The owner can read, can write and execute. The group can read, write and perform. Others cannot read, cannot write, and cannot perform.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question