D-Bus is killing me

Timothy Vismor vismor.td at gmail.com
Sun Dec 17 16:22:46 PST 2006

On 12/17/06, Matthew Johnson <dbus at matthew.ath.cx> wrote:
> Generally you cannot access a session bus as root. This is because root
> normally doesn't run a session bus and you cannot connect to the session
> bus as any user other than the one which owns it. sudo <dbus process>
> just doesn't work. This is a security measure.

Gnome VFS uses D-Bus. If you decide you want to edit a system
configuration file with gedit, you can't

sudo gedit

then navigate to the config file with the file chooser. Instead, you
must log out of your user account and log in as  root via GDM to use
gedit with enhanced privileges. This seems like a big security gain.
Maybe I'm missing something.



for more info.

More information about the dbus mailing list