diff --git a/etc/example.conf b/etc/example.conf index dff679f..240d2dd 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -58,7 +58,19 @@ server "Thinstack" { } # Privileges. +privset "op" { + # Privileges to use RESTART and SHUTDOWN. + priv "cmd.restart"; + priv "cmd.shutdown"; +} +privset "admin" { + # Inherit privileges from op. + inherit "op"; + # Privilege to use MODLOAD, MODRELOAD and MODUNLOAD. + priv "cfunc.modules"; +} privset "owner" { + # All privileges. priv "ALL"; }