IRCOP Access

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
Rain
Posts: 2
Joined: Thu Mar 11, 2021 9:05 pm

IRCOP Access

Post 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.
Rain
Posts: 2
Joined: Thu Mar 11, 2021 9:05 pm

Re: IRCOP Access

Post 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:
Lord255
Posts: 95
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: IRCOP Access

Post 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. :)
Post Reply