oper questions

These are old archives. They are kept for historic purposes only.
Post Reply
b26440510
Posts: 2
Joined: Fri May 28, 2004 7:44 pm

oper questions

Post 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.
b26440510
Posts: 2
Joined: Fri May 28, 2004 7:44 pm

Re: oper questions

Post by b26440510 »

I guess I just do this:

/oper nick password
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Re: oper questions

Post 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).)
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

RTFM!!
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Those sweet, sweet four letters...
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply