| 1 |
.TH "removable_context" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration" |
| 2 |
.SH "NAME" |
| 3 |
removable_context \- The SELinux removable devices context configuration file |
| 4 |
. |
| 5 |
.SH "DESCRIPTION" |
| 6 |
This file contains the default label that should be used for removable devices. |
| 7 |
.sp |
| 8 |
.BR selinux_removable_context_path "(3) " |
| 9 |
will return the active policy path to this file. The default removable context file is: |
| 10 |
.RS |
| 11 |
.I /etc/selinux/{SELINUXTYPE}/contexts/removable_context |
| 12 |
.RE |
| 13 |
.sp |
| 14 |
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)). |
| 15 |
. |
| 16 |
.SH "FILE FORMAT" |
| 17 |
The file consists of a single line entry as follows: |
| 18 |
.RS |
| 19 |
.IB user : role : type \fR[\fB:\fIrange\fR] |
| 20 |
.RE |
| 21 |
.sp |
| 22 |
Where: |
| 23 |
.RS |
| 24 |
.I user role type range |
| 25 |
.RS |
| 26 |
A user, role, type and optional range (for MCS/MLS) separated by colons (:) that will be applied to removable devices. |
| 27 |
.RE |
| 28 |
.RE |
| 29 |
. |
| 30 |
.SH "EXAMPLE" |
| 31 |
# ./contexts/removable_contexts |
| 32 |
.br |
| 33 |
system_u:object_r:removable_t:s0 |
| 34 |
. |
| 35 |
.SH "SEE ALSO" |
| 36 |
.BR selinux "(8), " selinux_removable_context_path "(3), " selinux_config "(5) " |