summaryrefslogtreecommitdiffstats
path: root/ipaaction/ipaaction_example_policy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ipaaction/ipaaction_example_policy.xml')
-rw-r--r--ipaaction/ipaaction_example_policy.xml14
1 files changed, 4 insertions, 10 deletions
diff --git a/ipaaction/ipaaction_example_policy.xml b/ipaaction/ipaaction_example_policy.xml
index 3ca7e51..d2b9045 100644
--- a/ipaaction/ipaaction_example_policy.xml
+++ b/ipaaction/ipaaction_example_policy.xml
@@ -11,13 +11,14 @@
<ipaaction>
<condition>
- <command>test -e /etc/redhat-release</command>
+ <command>/usr/bin/test -e /etc/redhat-release</command>
+ <user>nobody</user>
</condition>
<file>
<url>http://my.server.org/something.txt</url>
<path>/tmp/something.txt</path>
<owner>nobody</owner>
- <group>nogroup</group>
+ <group>nobody</group>
<access>0444</access>
<selinux_context>unconfined_u:object_r:user_home_t:s0</selinux_context>
<acl>user:dummy:rw-</acl>
@@ -26,15 +27,8 @@
</file>
<run>
<command>/bin/rm /tmp/something.txt</command>
- <user>admin</user>
+ <user>adm</user>
</run>
- <file>
- <data>VGhpcyBpcyBhIHRlc3QK</data>
- <path>/tmp/something_other.txt</path>
- <owner>nobody</owner>
- <group>nogroup</group>
- <access>0444</access>
- </file>
</ipaaction>
</ipa>