Page 1 of 2

Adding operators

Posted: Thu Dec 22, 2011 11:36 am
by JR10
I added the oper block in the config.
When I do /oper name pass.
Says: No O-lines for your host

Here is my oper block:

Code: Select all

 oper JR10 {
	class clients;
	from {
		userhost *@*;
	};
	password "password";
	flags {
		netadmin;
		can_gkline;
		can_gzline;
		can_zline;
		can_restart;
		can_die;
		global;
	};
};

Re: Adding operators

Posted: Thu Dec 22, 2011 1:41 pm
by Bunkerwaiss
Hi JR10,
lets clear some bushes..

First: rehash your server's config file.
Then: disconnect/reconnect to your server
Last: /oper name pass

On Windows, to rehash:
Start -> Run -> type: %windir%\system32\services.msc
find the service named: Unrealircd
click on it and Restart

*Nix:
cd into Unreal32 folder
type: ./unreal rehash

Re: Adding operators

Posted: Thu Dec 22, 2011 5:48 pm
by JR10
I can't find Unrealircd.

Re: Adding operators

Posted: Thu Dec 22, 2011 6:01 pm
by Bunkerwaiss
The thing is that when you change something in your unreal config file, you must then refresh (rehash) the new configuration.
Are you on a Windows system? or a linux shell?

Re: Adding operators

Posted: Thu Dec 22, 2011 6:18 pm
by JR10
Windows, I stopped the IRC server, changed the config file and opened it again.
And still it doesn't work.

Re: Adding operators

Posted: Thu Dec 22, 2011 6:22 pm
by Bunkerwaiss
Maybe you wanna check your ircd.log for possible errors..
C:\Program Files\Unreal3.2\ircd.log (by default location)

Re: Adding operators

Posted: Thu Dec 22, 2011 6:28 pm
by JR10

Code: Select all

[Thu Dec 22 18:46:52 2011] - OPER NOHOSTMATCH (JR10) by (JR10!JR10@IP)
Perhaps that's the line?
As I posted in the first post I specified the host as "*@*".

Re: Adding operators

Posted: Thu Dec 22, 2011 6:32 pm
by JR10
I got it working now.
It says

Code: Select all

You are now an IRC Operator
.
But I joined a channel, and I'm not an operator.

Re: Adding operators

Posted: Thu Dec 22, 2011 11:49 pm
by Stealth
But I joined a channel, and I'm not an operator.
That's how it works. Being an oper does not automatically give you access to every channel, and UnrealIRCd does not provide a way for you to be.

Re: Adding operators

Posted: Fri Dec 23, 2011 5:42 pm
by JR10
So there is no way to make myself operator on a channel?

Re: Adding operators

Posted: Fri Dec 23, 2011 8:32 pm
by katsklaw
JR10 wrote:So there is no way to make myself operator on a channel?
Be the first to join it or if its registered, ask the channel founder for ops. IRCop status it to be used to maintain the server, not allow you to play God. You should Google "ircop myths".

Re: Adding operators

Posted: Sat Dec 24, 2011 9:26 pm
by JR10
Okay, but if I used NickServ to register and identify, it will save my op right?

Re: Adding operators

Posted: Wed Dec 28, 2011 9:46 pm
by JR10
I managed to get services for my irc network.
But I still don't get it, how can I be an operator on my channel, when I identify.
Do I need something like a bot?

Re: Adding operators

Posted: Thu Dec 29, 2011 2:08 am
by katsklaw
JR10 wrote:I managed to get services for my irc network.
But I still don't get it, how can I be an operator on my channel, when I identify.
Do I need something like a bot?
I highly suggest you read all the documentation that comes with your services package.

Re: Adding operators

Posted: Thu Dec 29, 2011 11:10 am
by JR10
Ok.
I got everything fine now.
But there is one thing left.
I don't want people registering channels without my approval.
Is there a way to make that only few people can register channels?
Or they need my approval to make the channel.
I know set::level-on-join, but then no one can register any channels.