To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

ZNC website has died on 29 March 2017, without fresh backups. Wiki is now back from dump of July 2015. Please help restoring the lost content.

droproot

From ZNC
Jump to: navigation, search

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.

ZNC v1.0[edit]

This module was removed in ZNC v1.0 , you can find a compatible module at https://github.com/znc/znc/blob/fc8e789b081b74c6ae2b460bb056dac7019f3dce/modules/extra/droproot.cpp