Webserver chroot Jail

br4v37 7 years ago 0


after installing agenti v, i try to check security level of my webserver .. but i found:

+ all website folder created with www-data user.

+ if someone upload shell can list files of all websites.

i try to change website process user from PHP FPM .. it's work but if any hacker upload a shell he can explore all server files.

Image 131

so if there is any methode to creat a chroot jail like in cpanel to fix this problem.