blob: 60aaa9383218501a34696496f4a1e4a5b9ee09f5 [file] [log] [blame]
.TH "removable_context" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration"
.SH "NAME"
removable_context \- The SELinux removable devices context configuration file
.
.SH "DESCRIPTION"
This file contains the default label that should be used for removable devices that are not defined in the \fImedia\fR file (that is described in
.BR selabel_media "(5)). "
.sp
.BR selinux_removable_context_path "(3) "
will return the active policy path to this file. The default removable context file is:
.RS
.I /etc/selinux/{SELINUXTYPE}/contexts/removable_context
.RE
.sp
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
.
.SH "FILE FORMAT"
The file consists of a single line entry as follows:
.RS
.IB user : role : type \fR[\fB:\fIrange\fR]
.RE
.sp
Where:
.RS
.I user role type range
.RS
A user, role, type and optional range (for MCS/MLS) separated by colons (:) that will be applied to removable devices.
.RE
.RE
.
.SH "EXAMPLE"
# ./contexts/removable_contexts
.br
system_u:object_r:removable_t:s0
.
.SH "SEE ALSO"
.BR selinux "(8), " selinux_removable_context_path "(3), " selabel_media "(5), " selinux_config "(5) "