mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-28 00:42:07 +00:00
python/semanage: Do not use default s0 range in "semanage login -a"
Using the "s0" default means that new login mappings are always added with "s0" range instead of the range of SELinux user. Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
5dfa95c686
commit
68fbb6b0a0
@ -237,7 +237,7 @@ def parser_add_level(parser, name):
|
|||||||
|
|
||||||
|
|
||||||
def parser_add_range(parser, name):
|
def parser_add_range(parser, name):
|
||||||
parser.add_argument('-r', '--range', default="s0",
|
parser.add_argument('-r', '--range', default='',
|
||||||
help=_('''
|
help=_('''
|
||||||
MLS/MCS Security Range (MLS/MCS Systems only)
|
MLS/MCS Security Range (MLS/MCS Systems only)
|
||||||
SELinux Range for SELinux login mapping
|
SELinux Range for SELinux login mapping
|
||||||
|
Loading…
Reference in New Issue
Block a user