Sharing dbus between two different user
rameshsagar krishnasagar
rameshsagar.k at gmail.com
Wed Jun 29 03:35:05 PDT 2011
Hi Guys,
I am new to dbus, i am trying to use dbus as IPC in a embedded system
project running in mips 4kec processor,for the testing purpose i have used a
sample client server application, the complete source code, XML, make file
are available in the following link.
http://maemo.org/maemo_training_material/maemo4.x/html/maemo_Platform_Development_Chinook/APPENDIX_F_Source_code_for_the_GLibDBus_asynchronous_examples.html
In the embedded system i have 3 users
a)root
b)UserB belongs to the group UserB
c)UserC belongs to the group UserC
In the embedded system it is a autologin, the S modules in the /etc/enit.d
automatically runs & kicks the embedded application.S01dbus module launches
the dbus-dameon ,it is launched by the root,now i need to launch the server
application as UserB & Client application as UserC .
i.e From S02launchdbusapps present in etc/init.d
a) I am launching server using the command setuidgid :UserB /usr/bin/server
b)I am launching clientusing the command setuidgid :UserC /usr/bin/client
Is this scenario possible? what modification should i do stick to this
senario
Thanks a lot in advance.
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110629/422f2b90/attachment.htm>
More information about the dbus
mailing list