]> jfr.im git - solanum.git/blame - doc/oper-guide/oprivs.rst
review oprivs.rst style
[solanum.git] / doc / oper-guide / oprivs.rst
CommitLineData
2ae078d8
AB
1Oper privileges
2===============
3
2ae078d8
AB
4These are specified in privset{}.
5
6oper:admin, server administrator
7--------------------------------
8
9Various privileges intended for server administrators. Among other
10things, this automatically sets umode +a and allows loading modules.
11
12oper:die, die and restart
13-------------------------
14
90a29f9a 15This grants permission to use ``DIE`` and ``RESTART``, shutting down or
2ae078d8
AB
16restarting the server.
17
18oper:global\_kill, global kill
19------------------------------
20
90a29f9a 21Allows using ``KILL`` on users on any server.
2ae078d8
AB
22
23oper:hidden, hide from /stats p
24-------------------------------
25
26This privilege currently does nothing, but was designed to hide bots
27from /stats p so users will not message them for help.
28
29oper:hidden\_admin, hidden administrator
30----------------------------------------
31
32This grants everything granted to the oper:admin privilege, except the
33ability to set umode +a. If both oper:admin and oper:hidden\_admin are
34possessed, umode +a can still not be used.
35
36oper:kline, kline and dline
37---------------------------
38
90a29f9a 39Allows using ``KLINE`` and ``DLINE``, to ban users by user@host mask or IP
2ae078d8
AB
40address.
41
42oper:local\_kill, kill local users
43----------------------------------
44
90a29f9a 45This grants permission to use ``KILL`` on users on the same server,
2ae078d8
AB
46disconnecting them from the network.
47
48oper:mass\_notice, global notices and wallops
49---------------------------------------------
50
90a29f9a
AB
51Allows using server name ($$mask) and hostname ($#mask) masks in ``NOTICE``
52and ``PRIVMSG`` to send a message to all matching users, and allows using
53the ``WALLOPS`` command to send a message to all users with umode +w set.
2ae078d8
AB
54
55oper:operwall, send/receive operwall
56------------------------------------
57
90a29f9a 58Allows using the ``OPERWALL`` command and umode +z to send and receive
2ae078d8
AB
59operwalls.
60
61oper:rehash, rehash
62-------------------
63
90a29f9a 64Allows using the ``REHASH`` command, to rehash various configuration files
2ae078d8
AB
65or clear certain lists.
66
67oper:remoteban, set remote bans
68-------------------------------
69
90a29f9a
AB
70This grants the ability to use the ON argument on ``DLINE``/``KLINE``/``XLINE``/``RESV``
71and ``UNDLINE``/``UNKLINE``/``UNXLINE``/``UNRESV`` to set and unset bans on other
72servers, and the server argument on ``REHASH``. This is only allowed if the
2ae078d8
AB
73oper may perform the action locally, and if the remote server has a
74shared{} block.
75
4245facd
AB
76.. note:: If a cluster{} block is present, bans are sent remotely even
77 if the oper does not have oper:remoteban privilege.
2ae078d8
AB
78
79oper:resv, channel control
80--------------------------
81
82This allows using /resv, /unresv and changing the channel modes +L and
83+P.
84
85oper:routing, remote routing
86----------------------------
87
90a29f9a
AB
88This allows using the third argument of the ``CONNECT`` command, to instruct
89another server to connect somewhere, and using ``SQUIT`` with an argument
2ae078d8
AB
90that is not locally connected. (In both cases all opers with +w set will
91be notified.)
92
93oper:spy, use operspy
94---------------------
95
90a29f9a
AB
96This allows using ``/mode !#channel``, ``/whois !nick``, ``/who !#channel``,
97``/chantrace !#channel``, ``/topic !#channel``, ``/who !mask``, ``/masktrace
98!user@host :gecos`` and ``/scan umodes +modes-modes global list`` to see
2ae078d8
AB
99through secret channels, invisible users, etc.
100
90a29f9a 101All operspy usage is broadcasted to opers with snomask ``+Z`` set (on the
2ae078d8
AB
102entire network) and optionally logged. If you grant this to anyone, it
103is a good idea to establish concrete policies describing what it is to
104be used for, and what not.
105
90a29f9a
AB
106If ``operspy_dont_care_user_info`` is enabled, ``/who mask`` is operspy
107also, and ``/who !mask``, ``/who mask``, ``/masktrace !user@host :gecos`` and ``/scan
108umodes +modes-modes global list`` do not generate ``+Z`` notices or logs.
2ae078d8
AB
109
110oper:unkline, unkline and undline
111---------------------------------
112
90a29f9a 113Allows using ``UNKLINE`` and ``UNDLINE``.
2ae078d8
AB
114
115oper:xline, xline and unxline
116-----------------------------
117
90a29f9a 118Allows using ``XLINE`` and ``UNXLINE``, to ban/unban users by realname.
2ae078d8
AB
119
120snomask:nick\_changes, see nick changes
121---------------------------------------
122
90a29f9a 123Allows using snomask ``+n`` to see local client nick changes. This is
2ae078d8 124designed for monitor bots.