DBUS: at_console, no fallback.
David Zeuthen
david at fubar.dk
Tue Jan 10 10:50:32 PST 2006
On Sun, 2006-01-08 at 21:59 +0000, Richard Hughes wrote:
> When debugging a problem for a user using gentoo
> (http://bugzilla.gnome.org/show_bug.cgi?id=326226) it became obvious
> that there was no fallback to root for when at_console was not
> compiled-in/enabled. This made testing very difficult, as the DBUS
> methods failed even running as the root user!
>
> I've added the root-user case (so root can always do Shutdown() and
> UnMount() and stuff) and also re-factored the checks making this easier
> to update in the future.
Good to commit if you change user="root" to user="0". This is because
some paranoid system administrators rename the user for uid 0 and make a
dummy user named root.
Thanks,
David
More information about the hal
mailing list