help getting uid / program names in python
incarnadine.ich at gmail.com
Wed Apr 9 04:49:18 PDT 2008
I know it is possible for a server to get a dbus client ident (ex.
":1.1"). My question is, could anybody provide a sample method which
shows how i use this (or any other args) to derive the uid/username
privilege of the client, and the client programs name?
ex. If the server could print out
"Called from :1.1. Run by 'root'. Client name 'my_client.py'."
NOTE: This is my private email address. Use it for PERSONAL email only. Do not give it to any social, news, ecard, or ANY other websites. Every time you do this, i will get more spam.
More information about the dbus