ircd.conf:
/*
* operator {}: defines ircd operators
*/
operator {
/* name: the name of the operator */
name = "Abner";
/*
* user: the user@host required for this operator. Multiple user
* lines are permitted within each operator {} block.
*/
user = "*@*";
/*
* password: the password required to oper. By default this will need
* to be encrypted using the provided mkpasswd tool.
* The availability of various password hashing algorithms may vary
* depending on the system's crypt(3) implementation.
*/
password = "$6$3dr$aTplKqp3oprMfNMOieoY./udFX0lfQ8aBmAk42g8ngtc/SVqxCbRLyzrU1vUg1u/KnBrki9r0.YrNv2tSZqj/.";
/*
* encrypted: indicates whether the oper password above has been
* encrypted. Default is 'yes' if nothing else is specified.
*/
encrypted = yes;
service.conf:
opertype
{
/* The name of this opertype */
name = "Helper"
/* What commands (see above) this opertype has */
commands = "hostserv/*"
}
opertype
{
/* The name of this opertype */
name = "Services Operator"
/* What opertype(s) this inherits from. Separate with a comma. */
inherits = "Helper, Another Helper"
/* What commands (see above) this opertype may use */
commands = "chanserv/list chanserv/suspend chanserv/topic memoserv/staff nickserv/list nickserv/suspend operserv/mode operserv/chankill operserv/akill operserv/session operserv/modinfo operserv/sqline operserv/oper operserv/kick operserv/ignore operserv/snline"
/* What privs (see above) this opertype has */
privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
/*
* Modes to be set on users when they identify to accounts linked to this opertype.
*
* This can be used to automatically oper users who identify for services operator accounts, and is
* useful for setting modes such as Plexus's user mode +N.
*
* Note that some IRCds, such as InspIRCd, do not allow directly setting +o, and this will not work.
*/
#modes = "+o"
}
opertype
{
name = "Services Administrator"
inherits = "Services Operator"
commands = "botserv/* chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"
privs = "*"
}
opertype
{
name = "Services Root"
commands = "*"
privs = "*"
}
/*
* After defining different types of operators in the above opertype section, we now define who is in these groups
* through 'oper' blocks, similar to ircd access.
*
* The default is to comment these out (so NOBODY will have Services access).
* You probably want to add yourself and a few other people at minimum.
*
* As with all permissions, make sure to only give trustworthy people access to Services.
*/
#oper
{
/* The nickname of this services oper */
name = "Abner"
/* The opertype this person will have */
type = "Services Root"
/* If set, the user must be an oper on the IRCd to gain their Services
* oper privileges.
*/
require_oper = yes
/* An optional password. If defined the user must login using "/msg OperServ LOGIN" first */
password = "test123"
/* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
/* An optional list of user@host masks. If defined the user must be connected from one of them */
#host = "*@*.anope.org ident@*"
/* An optional vHost to set on users who identify for this oper block.
* This will override HostServ vHosts, and may not be available on all IRCds
*/
#vhost = "oper.mynet"
}
#oper
{
name = "Abner"
type = "Helper"
}
#oper
{
name = "Abner"
type = "Services Operator"
}
#oper
{
name = "Abner"
type = "Services Administrator"
}
First on the network:
<Abner> IDENTIFY <nickserv-pass>
<NickServ> Password accepted - you are now recognized.
Second:
* You are now an IRC operator
* *** Global -- from OperServ: USERS: ABNER!~ABNER@MYIP is now an IRC operator.
Third:
<ABNER> login test123
<OperServ> No oper block for your nick.
Help Me Please!