Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: OperServ access denied  (Read 4852 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 5
OperServ access denied
« on: March 25, 2023, 01:35:54 PM »

Hi,

Im new to this world. but wen i do :
Code: [Select]
OPERSERV LOGIN XXXXXI get:
Code: [Select]
Password accepted
But when I do :
Code: [Select]
/os oper listI get
Code: [Select]
Access denied
My user in anope service.conf
Code: [Select]
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
Code: [Select]
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:
Code: [Select]
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
« Last Edit: March 25, 2023, 02:06:32 PM by Stefan »
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: OperServ access denied
« Reply #1 on: March 25, 2023, 11:02:51 PM »

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.
Logged

PeGaSuS

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • What goes around, comes around.
    • PTirc
Re: OperServ access denied
« Reply #2 on: March 26, 2023, 11:09:12 AM »

- In your UnrealIRCd oper block, the mask item is totally wrong. It should look like the following:
Code: [Select]
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):
Code: [Select]
require-modes "zr";
- On Anope side, your host is also wrong. It should look like the following:
Code: [Select]
oper
{
name = "Klapvogn"
type = "Services Root"
password = "XXXXX"
require_oper = yes
host = "*@*"
}

Cheers
« Last Edit: March 26, 2023, 11:36:46 AM by The Myth Lives »
Logged
IRC network: PTirc | Help and support: irc.anope.org - #anope
Pages: [1]   Go Up