1remote_login_selinux(8) SELinux Policy remote_login remote_login_selinux(8)
2
3
4
6 remote_login_selinux - Security Enhanced Linux Policy for the
7 remote_login processes
8
10 Security-Enhanced Linux secures the remote_login processes via flexible
11 mandatory access control.
12
13 The remote_login processes execute with the remote_login_t SELinux
14 type. You can check if you have these processes running by executing
15 the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep remote_login_t
20
21
22
24 The remote_login_t SELinux type can be entered via the file_type,
25 login_exec_t, unlabeled_t, proc_type, filesystem_type, mtrr_device_t,
26 sysctl_type file types.
27
28 The default entrypoint paths for the remote_login_t domain are the fol‐
29 lowing:
30
31 all files on the system, /bin/login, /usr/kerberos/sbin/login.krb5,
32 /dev/cpu/mtrr
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 remote_login policy is very flexible allowing users to setup their
42 remote_login processes in as secure a method as possible.
43
44 The following process types are defined for remote_login:
45
46 remote_login_t
47
48 Note: semanage permissive -a remote_login_t can be used to make the
49 process type remote_login_t permissive. SELinux does not deny access to
50 permissive process types, but the AVC (SELinux denials) messages are
51 still generated.
52
53
55 SELinux policy is customizable based on least access required.
56 remote_login policy is extremely flexible and has several booleans that
57 allow you to manipulate the policy and run remote_login with the tight‐
58 est access possible.
59
60
61
62 If you want to allow all domains to use other domains file descriptors,
63 you must turn on the allow_domain_fd_use boolean. Enabled by default.
64
65 setsebool -P allow_domain_fd_use 1
66
67
68
69 If you want to allow unconfined executables to make their heap memory
70 executable. Doing this is a really bad idea. Probably indicates a
71 badly coded executable, but could indicate an attack. This executable
72 should be reported in bugzilla, you must turn on the allow_execheap
73 boolean. Disabled by default.
74
75 setsebool -P allow_execheap 1
76
77
78
79 If you want to allow unconfined executables to map a memory region as
80 both executable and writable, this is dangerous and the executable
81 should be reported in bugzilla), you must turn on the allow_execmem
82 boolean. Enabled by default.
83
84 setsebool -P allow_execmem 1
85
86
87
88 If you want to allow all unconfined executables to use libraries
89 requiring text relocation that are not labeled textrel_shlib_t), you
90 must turn on the allow_execmod boolean. Enabled by default.
91
92 setsebool -P allow_execmod 1
93
94
95
96 If you want to allow unconfined executables to make their stack exe‐
97 cutable. This should never, ever be necessary. Probably indicates a
98 badly coded executable, but could indicate an attack. This executable
99 should be reported in bugzilla), you must turn on the allow_execstack
100 boolean. Enabled by default.
101
102 setsebool -P allow_execstack 1
103
104
105
106 If you want to allow confined applications to run with kerberos, you
107 must turn on the allow_kerberos boolean. Enabled by default.
108
109 setsebool -P allow_kerberos 1
110
111
112
113 If you want to enable polyinstantiated directory support, you must turn
114 on the allow_polyinstantiation boolean. Enabled by default.
115
116 setsebool -P allow_polyinstantiation 1
117
118
119
120 If you want to allow sysadm to debug or ptrace all processes, you must
121 turn on the allow_ptrace boolean. Disabled by default.
122
123 setsebool -P allow_ptrace 1
124
125
126
127 If you want to allow system to run with NIS, you must turn on the
128 allow_ypbind boolean. Disabled by default.
129
130 setsebool -P allow_ypbind 1
131
132
133
134 If you want to allow users to login using a radius server, you must
135 turn on the authlogin_radius boolean. Disabled by default.
136
137 setsebool -P authlogin_radius 1
138
139
140
141 If you want to allow users login programs to access /etc/shadow, you
142 must turn on the authlogin_shadow boolean. Disabled by default.
143
144 setsebool -P authlogin_shadow 1
145
146
147
148 If you want to allow all domains to have the kernel load modules, you
149 must turn on the domain_kernel_load_modules boolean. Disabled by
150 default.
151
152 setsebool -P domain_kernel_load_modules 1
153
154
155
156 If you want to allow all domains to execute in fips_mode, you must turn
157 on the fips_mode boolean. Enabled by default.
158
159 setsebool -P fips_mode 1
160
161
162
163 If you want to enable reading of urandom for all domains, you must turn
164 on the global_ssp boolean. Disabled by default.
165
166 setsebool -P global_ssp 1
167
168
169
170 If you want to allow certain domains to map low memory in the kernel,
171 you must turn on the mmap_low_allowed boolean. Disabled by default.
172
173 setsebool -P mmap_low_allowed 1
174
175
176
177 If you want to allow confined applications to use nscd shared memory,
178 you must turn on the nscd_use_shm boolean. Enabled by default.
179
180 setsebool -P nscd_use_shm 1
181
182
183
184 If you want to boolean to determine whether the system permits loading
185 policy, setting enforcing mode, and changing boolean values. Set this
186 to true and you have to reboot to set it back, you must turn on the
187 secure_mode_policyload boolean. Disabled by default.
188
189 setsebool -P secure_mode_policyload 1
190
191
192
193 If you want to allow a user to login as an unconfined domain, you must
194 turn on the unconfined_login boolean. Enabled by default.
195
196 setsebool -P unconfined_login 1
197
198
199
200 If you want to support NFS home directories, you must turn on the
201 use_nfs_home_dirs boolean. Disabled by default.
202
203 setsebool -P use_nfs_home_dirs 1
204
205
206
207 If you want to support SAMBA home directories, you must turn on the
208 use_samba_home_dirs boolean. Disabled by default.
209
210 setsebool -P use_samba_home_dirs 1
211
212
213
214 If you want to support X userspace object manager, you must turn on the
215 xserver_object_manager boolean. Disabled by default.
216
217 setsebool -P xserver_object_manager 1
218
219
220
222 The SELinux process type remote_login_t can manage files labeled with
223 the following file types. The paths listed are the default paths for
224 these file types. Note the processes UID still need to have DAC per‐
225 missions.
226
227 file_type
228
229 all files on the system
230
231
233 semanage fcontext can also be used to manipulate default file context
234 mappings.
235
236 semanage permissive can also be used to manipulate whether or not a
237 process type is permissive.
238
239 semanage module can also be used to enable/disable/install/remove pol‐
240 icy modules.
241
242 semanage boolean can also be used to manipulate the booleans
243
244
245 system-config-selinux is a GUI tool available to customize SELinux pol‐
246 icy settings.
247
248
250 This manual page was auto-generated using sepolicy manpage .
251
252
254 selinux(8), remote_login(8), semanage(8), restorecon(8), chcon(1) ,
255 setsebool(8)
256
257
258
259remote_login 15-06-03 remote_login_selinux(8)