diff options
author | Sumit Bose <sbose@nb.localdomain> | 2008-11-13 13:30:49 +0100 |
---|---|---|
committer | Sumit Bose <sbose@nb.localdomain> | 2008-11-13 13:30:49 +0100 |
commit | 8972c51811e39f35bbce70fdd07bb7dbd3e51bf9 (patch) | |
tree | eb464c9718fe78ed1f365d8aba4524861c5f6052 /ipaaction/ipaaction_example_policy.xml | |
parent | 4dc78278c47255a532d9b7eaa6969a102dd86e98 (diff) | |
download | ipa_policy-8972c51811e39f35bbce70fdd07bb7dbd3e51bf9.tar.gz ipa_policy-8972c51811e39f35bbce70fdd07bb7dbd3e51bf9.tar.xz ipa_policy-8972c51811e39f35bbce70fdd07bb7dbd3e51bf9.zip |
finished with ipaaction, time for some cleanup
Diffstat (limited to 'ipaaction/ipaaction_example_policy.xml')
-rw-r--r-- | ipaaction/ipaaction_example_policy.xml | 14 |
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> |