mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-19 12:44:32 +00:00
6ef13eeda7
- Add man page sections '(N)' to external references, and '()' on functions described in the same man page. - Escape minus signs when those are expected to be used on the command line or files. - Mark files and variables in italic; Note headings, function names, constants, program options and man page references in bold. - Do not justify and hyphenate SEE ALSO section, and avoid hyphenation on symbol names by prepending them with \%. - Remove trailing dot from NAME section description. - Split sections with a no-op command '.', to visually distinguish them but to avoid introducing spurious vertical space in the formatted output. - Add explicit .sp commands in the SYNOPSIS section between function prototypes, and fix space placement in function protoypes. - Split header includes with .br (instead of the explicit or implicit .sp) so that they are vertically contiguous. - Add missing {} around SELINUXTYPE and POLICYTYPE variable text in paths. - Remove unneeded formatting commands. - Remove spurious blank lines. Signed-off-by: Guillem Jover <guillem@debian.org> Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
64 lines
1.6 KiB
Groff
64 lines
1.6 KiB
Groff
.TH "seusers" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration"
|
|
.SH "NAME"
|
|
seusers \- The SELinux GNU/Linux user to SELinux user mapping configuration file
|
|
.
|
|
.SH "DESCRIPTION"
|
|
The
|
|
.I seusers
|
|
file contains a list GNU/Linux user to SELinux user mapping for use by SELinux-aware login applications such as \fBPAM\fR(8).
|
|
.sp
|
|
.BR selinux_usersconf_path "(3) "
|
|
will return the active policy path to this file. The default SELinux users mapping file is located at:
|
|
.RS
|
|
.I /etc/selinux/{SELINUXTYPE}/seusers
|
|
.RE
|
|
.sp
|
|
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
|
|
.sp
|
|
.BR getseuserbyname "(3) reads this file to map a GNU/Linux user or group to an SELinux user. "
|
|
.
|
|
.SH "FILE FORMAT"
|
|
Each line of the
|
|
.I seusers
|
|
configuration file consists of the following:
|
|
.sp
|
|
.RS
|
|
\fR[\fB%\fIgroup_id\fR]|[\fIuser_id\fR]\fB:\fIseuser_id\fR[\fB:\fIrange\fR]
|
|
.RE
|
|
.sp
|
|
Where:
|
|
.RS
|
|
\fIgroup_id\fR|\fIuser_id
|
|
.RS
|
|
\fRThe GNU/Linux user id, or if preceded by the percentage (\fB%\fR) symbol, then a GNU/Linux group id.
|
|
.br
|
|
An optional entry set to \fB__default__\fR can be provided as a fall back if required.
|
|
.RE
|
|
.I seuser_id
|
|
.RS
|
|
The SELinux user identity.
|
|
.RE
|
|
.I range
|
|
.RS
|
|
The optional level or range for an MLS/MCS policy.
|
|
.RE
|
|
.RE
|
|
.
|
|
.SH "EXAMPLE"
|
|
# ./seusers
|
|
.br
|
|
system_u:system_u:s0\-s15:c0.c255
|
|
.br
|
|
root:root:s0\-s15:c0.c255
|
|
.br
|
|
fred:user_u:s0
|
|
.br
|
|
__default__:user_u:s0
|
|
.br
|
|
%user_group:user_u:s0
|
|
.
|
|
.SH "SEE ALSO"
|
|
.ad l
|
|
.nh
|
|
.BR selinux "(8), " PAM "(8), " selinux_usersconf_path "(3), " getseuserbyname "(3), " selinux_config "(5) "
|