Bug 979777 - semanage: incorrect syntax in example in semanage-login manpage
Summary: semanage: incorrect syntax in example in semanage-login manpage
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-30 12:51 UTC by Ruben Kerkhof
Modified: 2013-07-01 10:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-01 10:37:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ruben Kerkhof 2013-06-30 12:51:37 UTC
Description of problem:


selinux-login(8) has an example to map a linux group to a selinux user:
Assign all users in the engineering group to the staff_u user
# semanage login -a -s staff_u @engineering

But this results in:
ValueError: Linux User @engineering does not exist

The correct syntax should be:
# semanage login -a -s staff_u %engineering

Version-Release number of selected component (if applicable):

[root@localhost ~]# rpm -q policycoreutils-python
policycoreutils-python-2.1.14-61.fc20.x86_64

Comment 1 Daniel Walsh 2013-07-01 10:37:33 UTC
Fixed in policycoreutils-2.1.14-62.fc20.x86_64


Note You need to log in before you can comment on or make changes to this bug.