Page 1 of 1

oper questions

Posted: Fri May 28, 2004 8:28 pm
by b26440510
Setting up a server on Win2K just to understand some things. I'm not an IRC user so most of this is very new to me (I apologize for my ignorance).

When I sign into my chat client, I specify my name, nickname and password (not sure what the password is a user password or a server password).

When I connect my name is shown as dan![email protected]

I have setup an oper block with my name, but I don't understand how I get oper granted to me when I join an existing channel. I've have one official-channel in my config. I know an existing oper can grant me oper, but I thought there was a way that the system could grant oper rights to a particular person no matter what channel they're in. Thought that was the purpose of the oper block. But I can't find out how I grant this permission to myself when I log on. For instance, where do I enter the password defined in the oper block?

I took the example config and modified a bit. Here's the oper block:

Code: Select all

oper dan {
	from {
		userhost *@*;

	};
	password "passme";
	class         clients;
	flags
	{
		netadmin;
		global;
	};
};
Not sure what to use for userhost screen since I get the "cant resolve domain name" message when I connect, so I'm just accepting everything right now.

Re: oper questions

Posted: Fri May 28, 2004 9:12 pm
by b26440510
I guess I just do this:

/oper nick password

Re: oper questions

Posted: Fri May 28, 2004 9:37 pm
by aquanight
b26440510 wrote:I have setup an oper block with my name, but I don't understand how I get oper granted to me when I join an existing channel.
IRC Operators and Channel Operators are completely seperate of each other. Being an IRC Operator (at any level) does not automatically give you channel operator status in *any* channel, including official ones. To be set as channel operator you must either be the first user in the channel or be set as an operator by another channel operator (or by services (hint)).

With a special operflag, however, you can give yourself power to set yourself as channel operator (or even owner) in any channel through a simple /mode. You'll have to read the manual to find out what it is though.

To login to an oper block, use /oper (which you seem to have already found). And btw: the nick specified in the oper block does not have to be the nick that you connect with. The nick in the oper block is simply what you use as the first argument to /oper. The only requirement other than correct opername and password is that you match one of the userhosts in the from part. (I would suggest userhost *@127.0.0.1 if you connect locally (or use your ident - the part before the @ in your email address).)

Posted: Sat May 29, 2004 2:03 am
by jewles
RTFM!!

Posted: Mon May 31, 2004 2:36 am
by w00t
Those sweet, sweet four letters...