Page 1 of 2

Login as operator ?

Posted: Wed Apr 20, 2005 2:19 pm
by hibbert
Hi, i know how to login as an operator
/oper <nick> <pass>

i tried is, but after loggin as op i type
/rehash
an this message was shown:
Permission Denied- You do not have the correct IRC operator privileges
Why ?

I can't retsrat my server. Could i do this also by using putty ?

thx hibbert

Posted: Wed Apr 20, 2005 2:24 pm
by Dukat
Did you really get the message "RPL_YOUREOPER :You are now an IRC operator"?

Do you have the can_rehash flag in your oper block? (Most probably you will, because it's automatically included in every oper level...)


You can rehash Unreal IRCD on the console by using "./unreal rehash".

Posted: Wed Apr 20, 2005 2:44 pm
by hibbert
after /oper i receive this message:
No O-lines for your host
and after typing
/rehash
i receive this message:
Permission Denied- You do not have the correct IRC operator privileges
so what is my fault ??

thx hibbert

Posted: Wed Apr 20, 2005 3:14 pm
by Matridom
hibbert wrote:after /oper i receive this message:
No O-lines for your host
so what is my fault ??

thx hibbert
you are not getting Oper privileges.. looks like your typing in the username incorrectly. make sure that you have an oper block and that you are using the correct letter case for the username AND password.

don't forget to rehash after any changes (do it from the bash shell ./unreal rehash)

Posted: Wed Apr 20, 2005 3:22 pm
by hibbert
i already typed "./unreal rehash" in putty...

i think username & password are case sensitive... but username & passwort are lowercase...

so why can't i login as op ??

thx hibbert

Posted: Wed Apr 20, 2005 4:01 pm
by Matridom
hibbert wrote:i already typed "./unreal rehash" in putty...

i think username & password are case sensitive... but username & passwort are lowercase...

so why can't i login as op ??

thx hibbert
the error tells you. The username you are typing in for the /oper does not exist as an oper block in your configuration files.

so you are either typing in the name wrong, not rehasing or the oper block does not exist.

do a "stats o" in the IRC, should show you the names listed of ircops on your server, make sure your /oper username that you are using matches what is there.

you may want to paste here your oper block sans password.. there might be a mistake in it.

Posted: Wed Apr 20, 2005 7:15 pm
by hibbert
sure, i have an oper in my config:

Code: Select all

oper hibbert {
      class clients;
      from {
            userhost *@*dip.t-dialin.net;
      };
      password "mypass";
      flags {
            services-admin;
            admin;
            netadmin;
            global;
            can_rehash;
            can_die;
            can_restart;
            can_wallops;
            can_globops;
            can_localroute;
            can_globalroute;
            can_globalkill;
            can_kline;
            can_gzline;
            can_gkline;
            can_unkline;
            can_localnotice;
            can_globalnotice;
            can_zline;
            get_umodew;
            get_host;
            can_override;
      };
};
so why do i have this error ??

Posted: Wed Apr 20, 2005 7:33 pm
by Stealth
1)
http://www.vulnscan.org/UnrealIrcd/faq/#36

2)
Add EXACTLY this to your conf:

Code: Select all

oper hibbert { 
      class clients; 
      from { userhost *@*; }; 
      password "mypass"; 
      flags { 
            netadmin; 
       }; 
}; 
Then type EXACTLY this:

Code: Select all

/oper hibbert mypass
If that doesn't work, try

Code: Select all

/quote oper hibbert mypass
NOTE: You don't need every flag to do everything. I think Unreal should reject oper blocks with more than 1 rank flag. Make these people read the manual.

Posted: Wed Apr 20, 2005 9:52 pm
by hibbert
ok, i have done this, but it's always the same probelm...

hibbert

Posted: Wed Apr 20, 2005 10:02 pm
by Stealth
Then you did not rehash.

Or you did and there is an error elsewhere in your conf. Check the logs for errors.

Posted: Wed Apr 20, 2005 11:05 pm
by Matridom
hibbert wrote:ok, i have done this, but it's always the same probelm...

hibbert

what is the output of your "/stats o"?

Posted: Thu Apr 21, 2005 12:11 pm
by hibbert
after typing

Code: Select all

/stats o
:
Permission Denied- You do not have the correct IRC operator privileges
hibbert

Posted: Thu Apr 21, 2005 12:15 pm
by Dukat
Temporarily (!) remove "o" from your set::oper-only-stats and rehash.

Posted: Thu Apr 21, 2005 12:24 pm
by hibbert
Dukat wrote:Temporarily (!) remove "o" from your set::oper-only-stats and rehash.
sry, but i don't know how to do it :oops:

can you help me ?

thx hibbert