Author: juhliarik Date: Tue Jul 1 16:26:37 2008 New Revision: 48728 URL: http://svn.opensuse.org/viewcvs/yast?rev=48728&view=rev Log: added readme.txt Added: branches/tmp/lslezak/workshop/scr_dbus/readme.txt Added: branches/tmp/lslezak/workshop/scr_dbus/readme.txt URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/scr_dbus/readme.txt?rev=48728&view=auto ============================================================================== --- branches/tmp/lslezak/workshop/scr_dbus/readme.txt (added) +++ branches/tmp/lslezak/workshop/scr_dbus/readme.txt Tue Jul 1 16:26:37 2008 @@ -0,0 +1,43 @@ +How to cofigure it: +=================== + +Config Files: + +/etc/dbus-1/system.d/yast.conf +------------------------------ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="org.opensuse.YaST"/> + <allow send_destination="org.opensuse.YaST"/> + <allow send_interface="org.opensuse.YaST"/> + + </policy> + <policy at_console="true"> + <allow send_destination="org.opensuse.YaST"/> + <allow send_interface="org.opensuse.YaST"/> + </policy> + <policy context="default"> + <deny own="org.opensuse.YaST"/> + <deny send_destination="org.opensuse.YaST"/> + <deny send_interface="org.opensuse.YaST"/> + + </policy> + + <limit name="max_replies_per_connection">512</limit> +</busconfig> + +/usr/share/dbus-1/system-services/org.opensuse.YaST.service +----------------------------------------------------------- +[D-BUS Service] +Name=org.opensuse.YaST +Exec=/path/to/yast_service.py +User=root + +How to run it: +============= + +./test.py + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org