1irssi_selinux(8) SELinux Policy irssi irssi_selinux(8)
2
3
4
6 irssi_selinux - Security Enhanced Linux Policy for the irssi processes
7
9 Security-Enhanced Linux secures the irssi processes via flexible manda‐
10 tory access control.
11
12 The irssi processes execute with the irssi_t SELinux type. You can
13 check if you have these processes running by executing the ps command
14 with the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep irssi_t
19
20
21
23 The irssi_t SELinux type can be entered via the irssi_exec_t file type.
24
25 The default entrypoint paths for the irssi_t domain are the following:
26
27
28
30 SELinux defines process types (domains) for each process running on the
31 system
32
33 You can see the context of a process using the -Z option to ps
34
35 Policy governs the access confined processes have to files. SELinux
36 irssi policy is very flexible allowing users to setup their irssi pro‐
37 cesses in as secure a method as possible.
38
39 The following process types are defined for irssi:
40
41 irssi_t
42
43 Note: semanage permissive -a irssi_t can be used to make the process
44 type irssi_t permissive. SELinux does not deny access to permissive
45 process types, but the AVC (SELinux denials) messages are still gener‐
46 ated.
47
48
50 SELinux policy is customizable based on least access required. irssi
51 policy is extremely flexible and has several booleans that allow you to
52 manipulate the policy and run irssi with the tightest access possible.
53
54
55
56 If you want to allow the Irssi IRC Client to connect to any port, and
57 to bind to any unreserved port, you must turn on the
58 irssi_use_full_network boolean. Disabled by default.
59
60 setsebool -P irssi_use_full_network 1
61
62
63
64 If you want to allow users to resolve user passwd entries directly from
65 ldap rather then using a sssd server, you must turn on the authlo‐
66 gin_nsswitch_use_ldap boolean. Disabled by default.
67
68 setsebool -P authlogin_nsswitch_use_ldap 1
69
70
71
72 If you want to deny any process from ptracing or debugging any other
73 processes, you must turn on the deny_ptrace boolean. Enabled by
74 default.
75
76 setsebool -P deny_ptrace 1
77
78
79
80 If you want to allow any process to mmap any file on system with
81 attribute file_type, you must turn on the domain_can_mmap_files bool‐
82 ean. Enabled by default.
83
84 setsebool -P domain_can_mmap_files 1
85
86
87
88 If you want to allow all domains write to kmsg_device, while kernel is
89 executed with systemd.log_target=kmsg parameter, you must turn on the
90 domain_can_write_kmsg boolean. Disabled by default.
91
92 setsebool -P domain_can_write_kmsg 1
93
94
95
96 If you want to allow all domains to use other domains file descriptors,
97 you must turn on the domain_fd_use boolean. Enabled by default.
98
99 setsebool -P domain_fd_use 1
100
101
102
103 If you want to allow all domains to have the kernel load modules, you
104 must turn on the domain_kernel_load_modules boolean. Disabled by
105 default.
106
107 setsebool -P domain_kernel_load_modules 1
108
109
110
111 If you want to allow all domains to execute in fips_mode, you must turn
112 on the fips_mode boolean. Enabled by default.
113
114 setsebool -P fips_mode 1
115
116
117
118 If you want to enable reading of urandom for all domains, you must turn
119 on the global_ssp boolean. Disabled by default.
120
121 setsebool -P global_ssp 1
122
123
124
125 If you want to allow confined applications to run with kerberos, you
126 must turn on the kerberos_enabled boolean. Enabled by default.
127
128 setsebool -P kerberos_enabled 1
129
130
131
132 If you want to allow system to run with NIS, you must turn on the
133 nis_enabled boolean. Disabled by default.
134
135 setsebool -P nis_enabled 1
136
137
138
139 If you want to allow confined applications to use nscd shared memory,
140 you must turn on the nscd_use_shm boolean. Disabled by default.
141
142 setsebool -P nscd_use_shm 1
143
144
145
146 If you want to support ecryptfs home directories, you must turn on the
147 use_ecryptfs_home_dirs boolean. Disabled by default.
148
149 setsebool -P use_ecryptfs_home_dirs 1
150
151
152
153 If you want to support fusefs home directories, you must turn on the
154 use_fusefs_home_dirs boolean. Disabled by default.
155
156 setsebool -P use_fusefs_home_dirs 1
157
158
159
160 If you want to support NFS home directories, you must turn on the
161 use_nfs_home_dirs boolean. Disabled by default.
162
163 setsebool -P use_nfs_home_dirs 1
164
165
166
167 If you want to support SAMBA home directories, you must turn on the
168 use_samba_home_dirs boolean. Disabled by default.
169
170 setsebool -P use_samba_home_dirs 1
171
172
173
175 The SELinux process type irssi_t can manage files labeled with the fol‐
176 lowing file types. The paths listed are the default paths for these
177 file types. Note the processes UID still need to have DAC permissions.
178
179 cifs_t
180
181
182 ecryptfs_t
183
184 /home/[^/]+/.Private(/.*)?
185 /home/[^/]+/.ecryptfs(/.*)?
186
187 fusefs_t
188
189 /var/run/user/[^/]*/gvfs
190
191 irssi_home_t
192
193
194 nfs_t
195
196
197
199 semanage fcontext can also be used to manipulate default file context
200 mappings.
201
202 semanage permissive can also be used to manipulate whether or not a
203 process type is permissive.
204
205 semanage module can also be used to enable/disable/install/remove pol‐
206 icy modules.
207
208 semanage boolean can also be used to manipulate the booleans
209
210
211 system-config-selinux is a GUI tool available to customize SELinux pol‐
212 icy settings.
213
214
216 This manual page was auto-generated using sepolicy manpage .
217
218
220 selinux(8), irssi(8), semanage(8), restorecon(8), chcon(1), sepolicy(8)
221 , setsebool(8)
222
223
224
225irssi 19-04-25 irssi_selinux(8)