A ssh user can view all folders on server

Sakamoto Ryōma

Verified User
Joined
Jun 4, 2011
Messages
57
I use latest Directadmin version on Centos 8 Steam OS.
Today I figured out that a normal user can view all folders on home folder and also on all server folders.
How can I restrict the user to see only his own home/user folder?
 
all folders on home folder and also on all server folders

Normally /home should be chmod'ed to 711. This way nobody will see a listing of /home except of a superuser.

Meanwhile the command ./build bubblewrap is no longer supported. It is sufficient to run
Code:
./build jailshell
and bubblewrap will be installed internally as a part of the process.
 
I later saw that, there is option on user package for enabling jail for the a specific user.

Thanks for answers, I did not know it can be solved with jail feature of directadmin.
 
Back
Top