Running Kong as a Non-Root User

    When Kong Gateway is installed with a package management system such as APT or YUM, a default kong user and a default group are created. All the files installed by the package are owned by the kong user and group.

    1. Switch to the built-in kong user:

    It is also possible to run Kong as a custom non-root user. Since all the files installed by the Kong Gateway package are owned by the kong group, a user that belongs to that group should be permitted to perform the same operations as the user.