Blame python/semanage/semanage-user.8

Packit Service 9fb14c
.TH "semanage-user" "8" "20130617" "" ""
Packit Service 9fb14c
.SH "NAME"
Packit Service 9fb14c
.B semanage\-user \- SELinux Policy Management SELinux User mapping tool
Packit Service 9fb14c
.SH "SYNOPSIS"
Packit Service 9fb14c
.B  semanage user [\-h] [\-n] [\-N] [\-S STORE] [ \-\-add ( \-L LEVEL \-R ROLES \-r RANGE SEUSER) | \-\-delete SEUSER | \-\-deleteall  | \-\-extract  | \-\-list [\-C] | \-\-modify ( \-L LEVEL \-R ROLES \-r RANGE SEUSER ) ]
Packit Service 9fb14c
Packit Service 9fb14c
.SH "DESCRIPTION"
Packit Service 9fb14c
semanage is used to configure certain elements of
Packit Service 9fb14c
SELinux policy without requiring modification to or recompilation
Packit Service 9fb14c
from policy sources.  semanage user controls the mapping between an SELinux User and the roles and MLS/MCS levels.
Packit Service 9fb14c
Packit Service 9fb14c
.SH "OPTIONS"
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-h, \-\-help
Packit Service 9fb14c
show this help message and exit
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-n, \-\-noheading
Packit Service 9fb14c
Do not print heading when listing the specified object type
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-N, \-\-noreload
Packit Service 9fb14c
Do not reload policy after commit
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-S STORE, \-\-store STORE
Packit Service 9fb14c
Select an alternate SELinux Policy Store to manage
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-C, \-\-locallist
Packit Service 9fb14c
List local customizations
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-a, \-\-add
Packit Service 9fb14c
Add a record of the specified object type
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-d, \-\-delete
Packit Service 9fb14c
Delete a record of the specified object type
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-m, \-\-modify
Packit Service 9fb14c
Modify a record of the specified object type
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-l, \-\-list
Packit Service 9fb14c
List records of the specified object type
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-E, \-\-extract
Packit Service 9fb14c
Extract customizable commands, for use within a transaction
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-D, \-\-deleteall
Packit Service 9fb14c
Remove all local customizations
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-L LEVEL, \-\-level LEVEL
Packit Service 9fb14c
Default SELinux Level for SELinux user, s0 Default. (MLS/MCS Systems only)
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-r RANGE, \-\-range RANGE
Packit Service 9fb14c
MLS/MCS Security Range (MLS/MCS Systems only) SELinux Range for SELinux login mapping defaults to the SELinux user record range. SELinux Range for SELinux user defaults to s0.
Packit Service 9fb14c
.TP
Packit Service 9fb14c
.I   \-R [ROLES], \-\-roles [ROLES]
Packit Service 9fb14c
SELinux Roles. You must enclose multiple roles within quotes, separate by spaces. Or specify \-R multiple times.
Packit Service 9fb14c
Packit Service 9fb14c
.SH EXAMPLE
Packit Service 9fb14c
.nf
Packit Service 9fb14c
List SELinux users
Packit Service 9fb14c
# semanage user \-l
Packit Service 9fb14c
Modify groups for staff_u user
Packit Service 9fb14c
# semanage user \-m \-R "system_r unconfined_r staff_r" staff_u
Packit Service 9fb14c
Add level for TopSecret Users
Packit Service 9fb14c
# semanage user \-a \-R "staff_r" \-rs0\-TopSecret topsecret_u
Packit Service 9fb14c
Packit Service 9fb14c
.SH "SEE ALSO"
Packit Service 9fb14c
.BR selinux (8),
Packit Service 9fb14c
.BR semanage (8),
Packit Service 9fb14c
.BR semanage\-login (8)
Packit Service 9fb14c
Packit Service 9fb14c
.SH "AUTHOR"
Packit Service 9fb14c
This man page was written by Daniel Walsh <dwalsh@redhat.com>