Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Stefan on March 25, 2023, 01:35:54 PM
-
Hi,
Im new to this world. but wen i do :
OPERSERV LOGIN XXXXX
I get:
Password accepted
But when I do :
/os oper list
I get
Access denied
My user in anope service.conf
oper
{
name = "Klapvogn"
type = "Services Root"
password = "XXXXX"
require_oper = yes
host = "@"
}
What do I do wrong ?
I think I have answered my own question :D
in unrealircd.conf i had
oper Klapvogn {
class opers;
mask {
tls yes;
identified yes;
}
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}
I changed the class:
oper Klapvogn {
class clients;
mask {
tls yes;
identified yes;
}
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}
Now I can /os oper list
-
not sure about your answer.
ircd and anope's oper are two different things.
changing class in ircd's class, irrelevant i think.
as an oper you should not use a clients class btw.
-
- In your UnrealIRCd oper block, the mask item is totally wrong. It should look like the following:
oper Klapvogn {
class opers;
mask *; /* if you want to permit any IP. */
password "XXXX!";
operclass netadmin-with-override;
swhois "is a Network Administrator";
vhost netadmin.xxx.pw;
}
If you really want to force opers to use TLS and be identified to services before being able to oper-up, just add the following on the oper block (if service are down they can't oper up due to need +r):
require-modes "zr";
- On Anope side, your host is also wrong. It should look like the following:
oper
{
name = "Klapvogn"
type = "Services Root"
password = "XXXXX"
require_oper = yes
host = "*@*"
}
Cheers