Users and directories engaged by the platform
Users and access rights
Platform services will be launched on behalf of the user and group specified in AUTO_RUN_AS_USER and AUTO_RUN_AS_GROUP parameters (by default, altcraft), provided that such user and group exist in the system. These settings can be overridden by adding the corresponding parameters in the main platform configuration file main.json. The user must have basic rights to read, write and edit files.
To allow the akmtad process to listen on port 25 when running as a non-root user, you need to run the following command:
setcap "cap_net_bind_service=+ep" akmtad
Directories
All platform services work with their working directory, which is usually located at /opt/akd path. Some services may use the /tmp directory to store some temporary files.
To create screenshots of templates (for example, to display a preview of a template in the interface), the cutycapt utility is used, which works in conjunction with xvfb-run to emulate the graphical environment. These tools are run by the platform via the command line, they are executed at the OS level.