To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Droproot: Difference between revisions
>Domin Changed to external module and added download link for source file |
>Domin m Cleaned up page |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
| type = global | | type = global | ||
| extra = You cannot specify uid/gid 0 or user/group root. (That is exactly what this module prevents.) | | extra = You cannot specify uid/gid 0 or user/group root. (That is exactly what this module prevents.) | ||
}} | |||
== ZNC v1.0 == | |||
This module was removed in [[ChangeLog/1.0#No_more_ZNC-Extra|ZNC v1.0]] , you can find a compatible module at https://github.com/znc/znc/blob/fc8e789b081b74c6ae2b460bb056dac7019f3dce/modules/extra/droproot.cpp |
Latest revision as of 10:30, 24 November 2012
This is an external module. Please note that it may or may not work with the current release (1.9.1). This module is not included in the default ZNC installation, and you will need to manually compile it before you can load this module. Contact the author if you have any questions, but feel free to ask in #znc on Libera.Chat. Someone might be able to help you there. |
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
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