]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/opers.conf.example
7aa51b0dee22a058db45cbca5839c38e8bdf0936
[user/henk/code/inspircd.git] / conf / opers.conf.example
1 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
2 #                                                                     #
3 #   Classes are a group of commands which are grouped together and    #
4 #   given a unique name. They're used to define which commands        #
5 #   are available to certain types of Operators.                      #
6 #                                                                     #
7 #                                                                     #
8 #  Note: It is possible to make a class which covers all available    #
9 #  commands. To do this, specify commands="*". This is not really     #
10 #  recommended, as it negates the whole purpose of the class system,  #
11 #  however it is provided for fast configuration (e.g. in test nets)  #
12 #                                                                     #
13
14 <class
15      name="Shutdown" 
16
17      # commands: oper commands that users of this class can run.
18      commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD" 
19
20      # privs: special priviledges that users with this class may utilise.
21      #  users/mass-message: allows users with this priv to PRIVMSG and NOTICE to a server mask (e.g. NOTICE $*)
22      #  channels/auspex: allows opers with this priv to see more detail about channels than normal users.
23      #  users/auspex: allows opers with this priv to view more details about users than normal users.
24      #  servers/auspex: allows opers with this priv to see more detail about server information than normal users.
25          privs="users/mass-message"
26
27      # usermodes: Oper-only usermodes that opers with this class can use.
28      usermodes="*" 
29
30      # chanmodes: Oper-only channel modes that opers with this class can use.
31      chanmodes="*">
32
33 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256" usermodes="*" chanmodes="*">
34 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE" usermodes="*" chanmodes="*">
35 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES" usermodes="*" chanmodes="*">
36 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT" usermodes="*" chanmodes="*">
37
38
39 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
40 #                                                                     #
41 #   This is where you specify which types of operators you have on    #
42 #   your server, as well as the commands they are allowed to use.     #
43 #   This works alongside with the classes specified above.            #
44 #                                                                     #
45
46 <type
47     # name: Name of type. Used in actual olines below.
48     # Cannot contain spaces. If you would like a space, use
49     # the _ character instead and it will translate to a space on whois.
50     name="NetAdmin"
51
52     # classes: classes (above blocks) that this type belongs to.
53     classes="OperChat BanControl HostCloak Shutdown ServerLink"
54
55     # host: host oper gets on oper-up. This is optional. 
56     host="netadmin.omega.org.za"
57
58     # modes: usermodes besides +o that are set on a oper of this type
59     # when they oper up. Used for snomasks and other things.
60     # Requires that m_opermodes.so be loaded.
61     modes="+s +cCqQ">
62
63 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
64 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
65
66
67 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
68 #                                                                     #
69 #   Opers are defined here. This is a very important section.         #
70 #   Remember to only make operators out of trust worthy people.       #
71 #                                                                     #
72
73 # oline with plain-text password
74 <oper 
75       # name: oper login that is used to oper up (/oper name password).
76       # Remember: This is case sensitive
77       name="Brain"
78
79       # password: case-sensitive, unhashed...yea...self-explanatory.
80       password="s3cret"
81
82       # host: What hostnames/IP's are allowed to oper up with this oline.
83       # Multiple options can be separated by spaces and CIDR's are allowed.
84       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
85
86       # ** ADVANCED ** This option is disabled by default.
87       # fingerprint: When using the m_oper_ssl_cert module, you may specify
88       # a key fingerprint here. This can be obtained by using the
89       # /fingerprint command while the module is loaded. This enhances
90       # security by verifying that the person opering up has the matching
91       # key/certificate combination. This enhances security a great deal.
92       # If m_oper_ssl and/or m_ssl_gnutls/m_ssl_openssl aren't loaded,
93       # this option will be ignored.
94       #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
95
96       # type: What oper type this oline is. See the block above for list
97       # of types. NOTE: This is case-sensitive as well.
98       type="NetAdmin">
99
100 # oline with plain-text password and no comments..for all who like copy & paste
101 <oper
102       name="Brain"
103       password="s3cret"
104       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
105       #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
106       type="NetAdmin">
107
108 # oline with hashed password. It is highly recommended to use hashed passwords.
109 <oper 
110       # name: oper login that is used to oper up (/oper name password).
111       # Remember: This is case sensitive
112       name="Brain"
113
114       # hash: what hash this password is hashed with. requires the module
115       # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
116       # loaded and the oper password hashing module (m_password_hash.so)
117       # loaded. Options here are: "md5", "sha256" and "ripemd160".
118       hash="sha256"
119
120       # password: a hash of your password (see above option) hashed
121       # with /mkpasswd *hash* *password* . See m_password_hash in modules.conf
122       # for more information about password hashing.
123       password="1ec1c26b50d5d3c58d9583181af8076655fe00756bf7285940ba3670f99fcba0"
124
125       # host: What hostnames/IP's are allowed to oper up with this oline.
126       # Multiple options can be separated by spaces and CIDR's are allowed.
127       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
128
129       # type: What oper type this oline is. See the block above for list
130       # of types. NOTE: This is case-sensitive as well.
131       type="NetAdmin">