Login as operator ?

These are old archives. They are kept for historic purposes only.
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Login as operator ?

Post 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
I hope you understand my bad english :wink:
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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".
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post 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
I hope you understand my bad english :wink:
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post 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)
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post 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
I hope you understand my bad english :wink:
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post 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.
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post 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 ??
I hope you understand my bad english :wink:
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post by hibbert »

ok, i have done this, but it's always the same probelm...

hibbert
I hope you understand my bad english :wink:
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Then you did not rehash.

Or you did and there is an error elsewhere in your conf. Check the logs for errors.
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post 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"?
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post by hibbert »

after typing

Code: Select all

/stats o
:
Permission Denied- You do not have the correct IRC operator privileges
hibbert
I hope you understand my bad english :wink:
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Temporarily (!) remove "o" from your set::oper-only-stats and rehash.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

Post 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
I hope you understand my bad english :wink:
Post Reply