Page 1 of 1

IRCOP Access

Posted: Thu Mar 11, 2021 9:07 pm
by Rain
I saw examples on the UnrealIRCD page and what I do is not good for me. Sorry , Can you help me with an example that will give me full IRCOP access, thank you.

Re: IRCOP Access

Posted: Thu Mar 11, 2021 9:09 pm
by Rain
*/
oper at {
class opers;
mask *@*;
password "at";
operclass netadmin {
parent netadmin; /* we inherit the settings from 'netadmin' and then tweak them below.. */
permissions {
/* we are going to change the 'server' block. We need to copy the rights from
* the 'netadmin' operclass and add 'restart' to it:
*/
server {
opermotd; info; close; remote; module; dns; addline; rehash; description; addmotd; addomotd; tsctl; restart;
};
/* all the other permissions are inherited from the 'netadmin' operclass */
};
};
swhois "is Network Administrator";
};
###
Loading IRCd configuration..
config error: /home/at/unrealircd/conf/unrealircd.conf:154: Unknown directive 'oper::operclass'
config error: /home/at/unrealircd/conf/unrealircd.conf:150: oper::operclass is missing
config error: 2 errors encountered
config error: ******************************************************************
config error: This *seems* an UnrealIRCd 3.2.x configuration file.
config error: To upgrade it to the new 4.x format, run: ./unrealircd upgrade-conf
config error: ******************************************************************
config error: IRCd configuration failed to pass testing
=====================================================
UnrealIRCd failed to start. Check above for possible errors.
If you don't understand the problem, then have a look at our:

Re: IRCOP Access

Posted: Thu Mar 11, 2021 9:48 pm
by Lord255
https://www.unrealircd.org/docs/Oper_block
example at the end. :) don't mix things.
there is an extra default config named "operclass.default.conf", load that one up. but it seems you have upgraded from older version of unreal.
did you try to run what is suggested?
"To upgrade it to the new 4.x format, run: ./unrealircd upgrade-conf"
did you run that command?

btw the highest right would be "netadmin-with-override", but read the whole page, that will help you. :)