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