Allowing people to gain ops

These are old archives. They are kept for historic purposes only.
Post Reply
wildfire99
Posts: 2
Joined: Sat Oct 29, 2005 9:23 pm

Allowing people to gain ops

Post by wildfire99 »

I recently upgraded to Unreal 3.2.3 (from v 2.x) and am now having a problem. I used to be able to configure ops using the 'local' flag in the oper block in the config file. This would allow them to give/take ops from any channel on my server, to handle anyone who was causing problems.

Since upgrading, this no longer works. I get "permission denied" when attempting to "mode #someroom +o <somenick>". I have been able to reinstate this by using the 'services-admin' flag in the oper block (and using samode instead of mode). Obviously though, I prefer to give the minimum permissions possible.

What flags do I need to use in the oper block to allow someone to join a channel and op themselves? Or are there better mechanisms available to do the same thing (short of a bot)?
Old block:
oper myadmins {
class clients;
from {
userhost *@*;
};
password "nottherealpassword";
flags
{
local;
};
};
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

An ircop CANNOT op him/her self, that is not the intention of the ircops. You have a way: give him/her "operoverride" flag and they will be able to do :

"mode #someroom +o <somenick>".


Anyway, I'm telling you, that is not the purpose of irc operators, you have to use services (I recommend you Anope) and configure AOPs in the channels like this :

/msg chanserv aop <#channel> add <nick>


NOTE : This chanserv command only works if the nick is registered on nickserv, you can use :


/msg nickserv register <password> <e-mail>


to register one.

I hope this will help.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

The oper must have can_override and be at least Global to use it.
wildfire99
Posts: 2
Joined: Sat Oct 29, 2005 9:23 pm

Post by wildfire99 »

Worked perfectly (can_override, global). Many thanks!

I'm a little bit squeamish about setting up services (I had Anope before). It's another piece of software to maintain and patch, and I really don't feel I (or the users) need any of the regular user services it provides. Maybe for a larger setup, but this is still a small cozy little server with the occasional drive-by IRC attack.
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

Try Anope 1.6.4 Stable. Works fine for me.
Post Reply