selinux/libselinux/man/man5/removable_context.5
Richard Haines accf6a433f libselinux: Add man/man5 man pages
Add failsafe_context(5), local.users(5), removable_contexts(5) and
securetty_types(5) man pages.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
2011-12-05 16:11:22 -05:00

38 lines
1.2 KiB
Groff

.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) "