As in the main Plesk system, for managing a service you may need to be able to perform actions under a root user. In this case you will need to use the mechanism of setuid utilities, the utilities which in the process of their implementation temporarily change a value of the user with the permissions of which they are executed to the root user.
Note: In order not to make all the utilities setuid root, has been written a special wrapper. Symlinks in <PRODUCT_ROOT_D>/admin/bin/modules/<module_name> should point to ../../../sbin/mod_wrapper, which looks at its argv[0] and runs the appropriate binary from <PRODUCT_ROOT_D>/admin/sbin/modules/<module_name>. That binary need not be setuid root itself, because mod_wrapper is setuid root.
These utilities are called in by selecting a corresponding action in the user web interface and represent the call in of an external program from a control PHP script. Thus control PHP scripts implement a convenient administration interface, while C utilities perform low-level tasks (see example).
These utilities should be contained in the <PRODUCT_ROOT_D>/admin/sbin/modules/<module name>/ directory.