droproot
From ZNC
| This module is part of ZNC-Extra. This module is not enabled by default. Instead, you have to configure ZNC with --enable-extra.Alternatively, the code for this module can be found here. Read Compiling modules to learn how to compile a module. |
This module allows ZNC to drop root privileges on systems that implement POSIX setuid/setgid such as RedHat based systems (FedoraCore, CentOS, RHEL).
Arguments
This global module takes the user id and group id (or user name and group name) separated by a space to run ZNC as rather than root as arguments. You cannot specify uid/gid 0 or user/group root. (That is exactly what this module prevents.)
Read loading modules to learn more about loading modules.