mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
sudorule: add SELinux transition examples to plugin doc
It is not obvious how to add SELinux type and role transitions to a Sudo rule. Update the 'sudorule' plugin documentation with examples of how to do this. Fixes: https://fedorahosted.org/freeipa/ticket/3461 Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
parent
9b68d2a1f8
commit
ff490b6c40
@ -88,6 +88,10 @@ EXAMPLES:
|
|||||||
""") + _("""
|
""") + _("""
|
||||||
Set a default Sudo option:
|
Set a default Sudo option:
|
||||||
ipa sudorule-add-option defaults --sudooption '!authenticate'
|
ipa sudorule-add-option defaults --sudooption '!authenticate'
|
||||||
|
""") + _("""
|
||||||
|
Set SELinux type and role transitions on a rule:
|
||||||
|
ipa sudorule-add-option sysadmin_sudo --sudooption type=unconfined_t
|
||||||
|
ipa sudorule-add-option sysadmin_sudo --sudooption role=unconfined_r
|
||||||
""")
|
""")
|
||||||
|
|
||||||
register = Registry()
|
register = Registry()
|
||||||
|
Loading…
Reference in New Issue
Block a user