]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/opers.conf.example
Cover most of the included oper commands in the default examples of class tags, so...
[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 GUNLOADMODULE GRELOADMODULE SAJOIN SAPART SANICK SAQUIT SATOPIC" 
19
20      # privs: special privileges that users with this class may utilise.
21      #  VIEWING:
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      # ACTIONS:
26      #   - users/mass-message: allows opers with this priv to PRIVMSG and NOTICE to a server mask (e.g. NOTICE $*)
27      #   - channels/high-join-limit: allows opers with this priv to join <channels:opers> total channels instead of <channels:users> total channels.
28      #   - channels/set-permanent: allows opers with this priv to set +P on channels with m_permchannels.
29      # PERMISSIONS:
30      #   - users/flood/no-throttle: allows opers with this priv to send commands without being throttled (*NOTE)
31      #   - users/flood/increased-buffers: allows opers with this priv to send and recieve data without worrying about being disconnected for exceeding limits (*NOTE)
32      #
33      # *NOTE: These privs are potantially dangerous, as they grant users with them the ability to hammer your server's CPU/RAM as much as they want, essentially.
34      privs="users/auspex channels/auspex servers/auspex users/mass-message channels/high-join-limit channels/set-permanent users/flood/no-throttle users/flood/increased-buffers"
35
36      # usermodes: Oper-only usermodes that opers with this class can use.
37      usermodes="*" 
38
39      # chanmodes: Oper-only channel modes that opers with this class can use.
40      chanmodes="*">
41
42 <class name="ServerLink" commands="CONNECT SQUIT CONNECT MKPASSWD ALLTIME SWHOIS CLOSE JUMPSERVER LOCKSERV" usermodes="*" chanmodes="*" privs="servers/auspex">
43 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE TLINE RLINE CHECK NICKLOCK SHUN CLONES CBAN" usermodes="*" chanmodes="*">
44 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE" usermodes="*" chanmodes="*" privs="users/mass-message">
45 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT TAXONOMY" usermodes="*" chanmodes="*" privs="users/auspex">
46
47
48 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
49 #                                                                     #
50 #   This is where you specify which types of operators you have on    #
51 #   your server, as well as the commands they are allowed to use.     #
52 #   This works alongside with the classes specified above.            #
53 #                                                                     #
54
55 <type
56     # name: Name of type. Used in actual olines below.
57     # Cannot contain spaces. If you would like a space, use
58     # the _ character instead and it will translate to a space on whois.
59     name="NetAdmin"
60
61     # classes: classes (above blocks) that this type belongs to.
62     classes="OperChat BanControl HostCloak Shutdown ServerLink"
63
64     # host: host oper gets on oper-up. This is optional. 
65     host="netadmin.omega.org.za"
66
67     # modes: usermodes besides +o that are set on a oper of this type
68     # when they oper up. Used for snomasks and other things.
69     # Requires that m_opermodes.so be loaded.
70     modes="+s +cCqQ">
71
72 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
73 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
74
75
76 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
77 #                                                                     #
78 #   Opers are defined here. This is a very important section.         #
79 #   Remember to only make operators out of trust worthy people.       #
80 #                                                                     #
81
82 # oline with plain-text password
83 <oper 
84       # name: oper login that is used to oper up (/oper name password).
85       # Remember: This is case sensitive
86       name="Brain"
87
88       # password: case-sensitive, unhashed...yea...self-explanatory.
89       password="s3cret"
90
91       # host: What hostnames/IP's are allowed to oper up with this oline.
92       # Multiple options can be separated by spaces and CIDR's are allowed.
93       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
94
95       # ** ADVANCED ** This option is disabled by default.
96       # fingerprint: When using the m_oper_ssl_cert module, you may specify
97       # a key fingerprint here. This can be obtained by using the
98       # /fingerprint command while the module is loaded. This enhances
99       # security by verifying that the person opering up has the matching
100       # key/certificate combination. This enhances security a great deal.
101       # If m_oper_ssl and/or m_ssl_gnutls/m_ssl_openssl aren't loaded,
102       # this option will be ignored.
103       #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
104
105       # type: What oper type this oline is. See the block above for list
106       # of types. NOTE: This is case-sensitive as well.
107       type="NetAdmin">
108
109 # oline with plain-text password and no comments..for all who like copy & paste
110 <oper
111       name="Brain"
112       password="s3cret"
113       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
114       #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
115       type="NetAdmin">
116
117 # oline with hashed password. It is highly recommended to use hashed passwords.
118 <oper 
119       # name: oper login that is used to oper up (/oper name password).
120       # Remember: This is case sensitive
121       name="Brain"
122
123       # hash: what hash this password is hashed with. requires the module
124       # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
125       # loaded and the oper password hashing module (m_password_hash.so)
126       # loaded. Options here are: "md5", "sha256" and "ripemd160".
127       hash="sha256"
128
129       # password: a hash of your password (see above option) hashed
130       # with /mkpasswd *hash* *password* . See m_password_hash in modules.conf
131       # for more information about password hashing.
132       password="1ec1c26b50d5d3c58d9583181af8076655fe00756bf7285940ba3670f99fcba0"
133
134       # host: What hostnames/IP's are allowed to oper up with this oline.
135       # Multiple options can be separated by spaces and CIDR's are allowed.
136       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
137
138       # type: What oper type this oline is. See the block above for list
139       # of types. NOTE: This is case-sensitive as well.
140       type="NetAdmin">