summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2012-08-09 11:54:33 -0400
committerMartin Kosek <mkosek@redhat.com>2012-08-14 15:46:59 +0200
commitda55aadf7481e6154c364230c6eae0409e00379f (patch)
treecd02d3d8072c34888954dbc5dd147cf619ba7a5d /ipalib
parent53967f21bd4c35dee2209d1d80b65deb2ad177d6 (diff)
downloadfreeipa-da55aadf7481e6154c364230c6eae0409e00379f.tar.gz
freeipa-da55aadf7481e6154c364230c6eae0409e00379f.tar.xz
freeipa-da55aadf7481e6154c364230c6eae0409e00379f.zip
Corrects help description of selinuxusermap.
https://fedorahosted.org/freeipa/ticket/2959
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/selinuxusermap.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/plugins/selinuxusermap.py b/ipalib/plugins/selinuxusermap.py
index 988cb4f0b..2d689cd74 100644
--- a/ipalib/plugins/selinuxusermap.py
+++ b/ipalib/plugins/selinuxusermap.py
@@ -40,26 +40,26 @@ EXAMPLES:
ipa selinuxusermap-add-host --hosts=server.example.com test1
Create a rule, "test2", that sets all users to guest_u:s0 and uses an existing HBAC rule for users and hosts:
- ipa selinuxusermap-add --usercat=all --hbacrule=webserver --selinuxuser=guest_u:s0 test1
+ ipa selinuxusermap-add --usercat=all --hbacrule=webserver --selinuxuser=guest_u:s0 test2
- Display the properties of a named HBAC rule:
- ipa selinuxusermap-show test1
+ Display the properties of a rule:
+ ipa selinuxusermap-show test2
Create a rule for a specific user. This sets the SELinux context for
user john to unconfined_u:s0-s0:c0.c1023 on any machine:
ipa selinuxusermap-add --hostcat=all --selinuxuser=unconfined_u:s0-s0:c0.c1023 john_unconfined
ipa selinuxusermap-add-user --users=john john_unconfined
- Disable a named rule:
+ Disable a rule:
ipa selinuxusermap-disable test1
- Enable a named rule:
+ Enable a rule:
ipa selinuxusermap-enable test1
Find a rule referencing a specific HBAC rule:
ipa selinuxusermap-find --hbacrule=allow_some
- Remove a named rule:
+ Remove a rule:
ipa selinuxusermap-del john_unconfined
SEEALSO: