成为所有频道的运营商 ircd-hybrid

成为所有频道的运营商 ircd-hybrid

我的服务器有问题ircd-hybrid。我只能在状态选项卡中让自己成为操作员,但在加入频道时则不能。

我的操作员标签位于ircd.conf

operator {
    /* name: the name of the oper */
    name = "operator";

    /* user: the user@host required for this operator.  CIDR is not
     * supported.  multiple user="" lines are supported.
     */
    user = "*@127.0.0.1";

    /* password: the password required to oper.  By default this will
     * need to be encrypted using '/usr/bin/mkpasswd'.
     * WARNING: Please do not mix up the 'mkpasswd' program from 
     * /usr/sbin with this one. If you are root, typing 'mkpasswd' 
     * will run that one instead and you will receive a strange error.
     *
     * MD5 is supported. If you want to use it, use mkpasswd -Hmd5.
     */
    #password = "3ZokNTld506nY";
    password = "$1$oqD3q/0S$wQ1utcJG9Pcutmq6i3qxS.";

    /* class: the class the oper joins when they successfully /oper */
    class = "opers";

    /* privileges: controls the activities and commands an oper are 
     * allowed to do on the server.  All options default to no.
     * Available options:
     *
     * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
     * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
     * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
     * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
     * gline:        allows GLINE                      (OLD 'G' flag)
     * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
     *               via usermode +n
     * rehash:       allows oper to REHASH config      (OLD 'H' flag)
     * die:          allows DIE and RESTART            (OLD 'D' flag)
     * admin:        gives admin privileges.  admins
     *               may (un)load modules and see the
     *               real IPs of servers.
     */
    global_kill = yes;
    remote = yes;
    kline = yes;
    unkline = yes;
    gline = yes;
    die = yes;
    rehash = yes;
    nick_changes = yes;
    admin = yes;
};

另外,如何配置服务器,以便当用户首先加入频道时,他们不会成为该频道的操作员?

答案1

  • 连接到您的 IRC 服务器。
  • 获得操作员权限:
    • /oper 运算符
    • 输入您的密码
    • IRC 服务器显示文本“您已进入...暮光之城!”
  • /quote MODLOAD m_opme.so
    • 服务器上的此加载模块“OPME”
  • /引用 opme #channel
    • 现在您拥有#channel 的操作员权限

答案2

Debian Jessie(可能还有 Ubuntu)中的 ircd-hybrid 软件包不包含 opme 模块。

Debian Stretch 中的版本确实如此,但位于 /usr/lib/ircd-hybrid/modules/extra 中。您应该在 ircd.conf 的模块部分中添加此路径。

您还应该在 ircd.conf 的操作符部分添加 opme 标志,并重新加载/重新启动守护进程。

然后你就可以做

/oper yourusername yourpassword
/quote MODULE LOAD m_opme.la
/quote opme #channel

相关内容