File: manpages

package info (click to toggle)
selinux-python 3.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,284 kB
  • sloc: python: 20,280; sh: 328; makefile: 257; ansic: 191
file content (51 lines) | stat: -rw-r--r-- 2,802 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Index: selinux-python-3.8.1/semanage/semanage-port.8
===================================================================
--- selinux-python-3.8.1.orig/semanage/semanage-port.8
+++ selinux-python-3.8.1/semanage/semanage-port.8
@@ -8,6 +8,10 @@
 semanage is used to configure certain elements of SELinux policy without requiring modification to or recompilation from policy sources.
 .B semanage port
 controls the port number to port type definitions.
+.TP
+The
+.B port_range
+is 2 numbers separated by a hyphen. To enter more than one port or range of ports you need to run this command multiple times.
 
 .SH "OPTIONS"
 .TP
Index: selinux-python-3.8.1/semanage/semanage-user.8
===================================================================
--- selinux-python-3.8.1.orig/semanage/semanage-user.8
+++ selinux-python-3.8.1/semanage/semanage-user.8
@@ -2,7 +2,7 @@
 .SH "NAME"
 .B semanage\-user \- SELinux Policy Management SELinux User mapping tool
 .SH "SYNOPSIS"
-.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 ) ]
+.B  semanage user [\-h] [\-n] [\-N] [\-S STORE] [ \-\-add ( \-L LEVEL \-R ROLES \-r RANGE SEUSER \-P PREFIX ) | \-\-delete SEUSER | \-\-deleteall  | \-\-extract  | \-\-list [\-C] | \-\-modify ( \-L LEVEL \-R ROLES \-r RANGE SEUSER ) ]
 
 .SH "DESCRIPTION"
 semanage is used to configure certain elements of
@@ -49,6 +49,9 @@ Remove all local customizations
 .I   \-L LEVEL, \-\-level LEVEL
 Default SELinux Level for SELinux user, s0 Default. (MLS/MCS Systems only)
 .TP
+.I   \-P PREFIX, \-\-prefix PREFIX
+Prefix for a user to be added.
+.TP
 .I   \-r RANGE, \-\-range RANGE
 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.
 .TP
Index: selinux-python-3.8.1/semanage/semanage
===================================================================
--- selinux-python-3.8.1.orig/semanage/semanage
+++ selinux-python-3.8.1/semanage/semanage
@@ -415,7 +415,7 @@ def setupUserParser(subparsers):
     userParser.add_argument('-R', '--roles', default=[],
                             action=CheckRole,
                             help=_("SELinux Roles. You must enclose multiple roles within quotes, separate by spaces. Or specify -R multiple times."))
-    userParser.add_argument('-P', '--prefix', default="user", help=argparse.SUPPRESS)
+    userParser.add_argument('-P', '--prefix', default="user", help=_("Prefix for a user to be added"))
     userParser.add_argument('selinux_name', nargs='?', default=None, help=_('selinux_name'))
     userParser.set_defaults(func=handleUser)