Learn how to isolate your sites on Laravel Forge.
forge
user that is created as part of the server’s initial provisioning process for all deployments, daemons, scheduled jobs, PHP-FPM, and other processes.
Via Forge’s “User Isolation” feature, Forge will create a separate user for a given site. This is particularly useful when combined with a project like WordPress in order to prevent plugins from maliciously accessing content in your forge
user (or other isolated user) owned directories.
forge
user is considered a “super user” and is therefore able to read all files within isolated user directories.forge
user, newly created isolated users also have limited sudo access. They may reload the PHP-FPM services requiring a password:
forge
user and switch to the root
user using the sudo su
or the sudo -i
command.