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