Linux Server Admin

These are old archives. They are kept for historic purposes only.
Post Reply
Steffen
Posts: 1
Joined: Thu Jul 12, 2012 8:19 am

Linux Server Admin

Post by Steffen »

Good morning,

I'm sorry for the bad english, but I'm still learning;)

I have a question about UnrealIRCd. I have completed the normal installation. Unreal also works on my Linux server, but I do not know exactly how I can authenticate as a server admin?

No matter who comes to my server gets direct + Iwx rights.

Can one tell me how I can authenticate as a server admin?

Thank you! LG Steffen
ddrght12345
Posts: 4
Joined: Mon Jul 09, 2012 8:22 pm

Re: Linux Server Admin

Post by ddrght12345 »

I think your asking how do you login as an oper.

First, check your unrealircd.conf for an oline/o-block and make sure its setup correctly

Code: Select all

oper (login) { 
     class (class to put them in, if different from I, moves them to new
                class); 
     from { 
        userhost (ident@host);
        userhost (ident@host);
     }; 
     password (password);
     flags
     { 
       (flags here*);
     };
};
(login) - What username do you want to use to oper
class - What class to pick from your class block. I just leave mine as clients
from :: userhost - Where are you connecting from? If there are only a few people on your server, it will be ok to leave this as *@*, to test and troubleshoot oper. However, as soon as it works, you should note down what your userhost is, and change this (then rehash/restart the server)
password - What password are you using. This can be plaintext, but its unsecure...
flags - Refer to the Unrealircd documentation to see the options. If its for you, you may be looking for the netadmin flag.
So you will probably want to have something similar

Code: Select all

flags
	{
		netadmin;
		can_zline;
		can_gzline;
		can_gkline;
		global;
        get_umodew;
        can_restart;
        get_host;
        can_override;
	};
Once you know your block is set up right, (and you rehashed/restarted the server) you may use /oper <username> <password> in irc and that will allow you to gain admin access.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Linux Server Admin

Post by katsklaw »

I suggest you check out http://www.unrealircd.com/files/docs/un ... lock_flags It explains what oper flags are inherent and which are not. There is no need to duplicate inherent flags .. for example, adding the global flag to an oper block that has netadmin is pointless, netadmins are inherently global opers
Post Reply