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