diff options
author | fcrozat <fcrozat@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2005-03-03 18:49:20 +0000 |
---|---|---|
committer | fcrozat <fcrozat@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2005-03-03 18:49:20 +0000 |
commit | d2f6a2ed5c3c6e83f0b01843944dda83338e13e8 (patch) | |
tree | 9ee8ad0ec772d74378585209099cc40950de408d | |
parent | b63c2305accc922d325890267b0c39d35df43ddd (diff) | |
download | s2u-d2f6a2ed5c3c6e83f0b01843944dda83338e13e8.tar s2u-d2f6a2ed5c3c6e83f0b01843944dda83338e13e8.tar.gz s2u-d2f6a2ed5c3c6e83f0b01843944dda83338e13e8.tar.bz2 s2u-d2f6a2ed5c3c6e83f0b01843944dda83338e13e8.tar.xz s2u-d2f6a2ed5c3c6e83f0b01843944dda83338e13e8.zip |
Configuration to restrict s2u message to root only on system bus
git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/s2u/trunk@179800 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r-- | s2u.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/s2u.conf b/s2u.conf new file mode 100644 index 0000000..ec66239 --- /dev/null +++ b/s2u.conf @@ -0,0 +1,18 @@ +<!-- This configuration file specifies the required security policies + for s2u to work. --> + +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- ../system.conf have denied everything, so we just punch some holes --> + <policy user="root"> + <allow send_interface="com.mandrakesoft.user"/> + </policy> + + <policy context="default"> + <deny send_interface="com.mandrakesoft.user"/> + </policy> + + +</busconfig> |