Debian Codegraph @

python/semanage/semanage-login.8

raw
1 .TH "semanage-login" "8" "20130617" "" ""
2 .SH "NAME"
3 .B semanage\-login \- SELinux Policy Management linux user to SELinux User mapping tool
4 .SH "SYNOPSIS"
5 .B semanage login [\-h] [\-n] [\-N] [\-S STORE] [ \-\-add \-s SEUSER \-r RANGE LOGIN | \-\-delete LOGIN | \-\-deleteall | \-\-extract | \-\-list [\-C] | \-\-modify \-s SEUSER \-r RANGE LOGIN ]
6
7 .SH "DESCRIPTION"
8 semanage is used to configure certain elements of
9 SELinux policy without requiring modification to or recompilation
10 from policy sources. semanage login controls the mapping between a Linux User and the SELinux User. It can be used to turn on confined users. For example you could define that a particular user or group of users will login to a system as the user_u user. Prefix the group name with a '%' sign to indicate a group name.
11
12 .SH "OPTIONS"
13 .TP
14 .I \-h, \-\-help
15 show this help message and exit
16 .TP
17 .I \-n, \-\-noheading
18 Do not print heading when listing the specified object type
19 .TP
20 .I \-N, \-\-noreload
21 Do not reload policy after commit
22 .TP
23 .I \-C, \-\-locallist
24 List local customizations
25 .TP
26 .I \-S STORE, \-\-store STORE
27 Select an alternate SELinux Policy Store to manage
28 .TP
29 .I \-a, \-\-add
30 Add a record of the specified object type
31 .TP
32 .I \-d, \-\-delete
33 Delete a record of the specified object type
34 .TP
35 .I \-m, \-\-modify
36 Modify a record of the specified object type
37 .TP
38 .I \-l, \-\-list
39 List records of the specified object type
40 .TP
41 .I \-E, \-\-extract
42 Extract customizable commands, for use within a transaction
43 .TP
44 .I \-D, \-\-deleteall
45 Remove all local customizations
46 .TP
47 .I \-s SEUSER, \-\-seuser SEUSER
48 SELinux user name
49 .TP
50 .I \-r RANGE, \-\-range RANGE
51 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.
52
53 .SH EXAMPLE
54 .nf
55 Modify the default user on the system to the guest_u user
56 # semanage login \-m \-s guest_u __default__
57 Assign gijoe user on an MLS machine a range and to the staff_u user
58 # semanage login \-a \-s staff_u \-rSystemLow-Secret gijoe
59 Assign all users in the engineering group to the staff_u user
60 # semanage login \-a \-s staff_u %engineering
61
62 .SH "SEE ALSO"
63 .BR selinux (8),
64 .BR semanage (8),
65 .BR semanage-user (8)
66
67 .SH "AUTHOR"
68 This man page was written by Daniel Walsh <[email protected]>