[rhelv6-list] setuid helper permission???

Hugh Brown hbrown at divms.uiowa.edu
Thu Dec 1 15:10:42 UTC 2011


On 11/30/2011 09:13 PM, dsavage at peaknet.net wrote:
> A critical typo in a revised script totally trashed all permissions on my
> RHEL6.1 server. Fortunately even in that damaged state it booted to
> runlevel 1. It's taken me two weeks to reinstall all 2471 packages,
> restore permissions IAW the RPM database plus the thousands that aren't
> recorded there. I can now boot to runlevel 3 just fine. Runlevel 5,
> however, seems just out of reach. It boots to the graphical logon screen,
> but that's where keyboard and mouse operations quit.
>
> Everything in the messages log looks nominal right up to these five lines:
>
>     Nov 28 20:14:31 lion gdm-simple-slave[3019]: WARNING: Unable to open
> session: The permission of the setuid helper is not correct
>     Nov 28 20:14:32 lion gnome-session[3042]: devkit-power-gobject-Warning:
> Couldn't enumerate devices: The permission of the setuid helper is not
> correct
>     Nov 28 20:14:36 lion gdm-simple-greeter[3064]:
> devkit-power-gobject-WARNING: Couldn't enumerate devices: The
> permission of the setuid helper is not correct
>     Nov 28 20:14:36 lion gdm-simple-greeter[3064]:
> devkit-power-gobject-WARNING: Error involving GetAll() to get
> properties. The permission of the setuid helper is not correct
>     Nov 28 20:14:36 lion gdm-simple-greeter[3064]: Gtk-WARNING
> gtkwidget.c5460: widget not within a GtkWindow
>
> Five more lines follow, but I doubt these affect the keyboard and mouse:
>     Nov 28 20:14:36 lion pulseaudio[3087]: module-console-kit.c:
> GetSessionsForUnixUser() call failed:
> org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of
> the setuid helper is not correct
>     Nov 28 20:14:36 lion pulseaudio[3087]: module.c: failed to load module
> "module-console-kit" (argument: ""): initialization failed.
>     Nov 28 20:14:36 lion pulseaudio[3087]: main.c: Module load failed.
>     Nov 28 20:14:36 lion pulseaudio[3087]: main.c: Failed to initialize
> daemon.
>     Nov 28 20:14:36 lion pulseaudio[3087]: main.c: Daemon startup failed.
>
> I presume the "setuid helper" is /usr/bin/sudo:
>
>     ---s--x--x.   2 root root      212904 Aug 18 05:37 sudo
>     ---s--x--x.   2 root root      212904 Aug 18 05:37 sudoedit
>     ---x--x--x.   1 root root       43120 Aug 18 05:37 sudoreplay
>
> I'm sure I've missed something simple, but what???
>
> --Doc Savage
>    Fairview Heights, IL
>
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list



A quick google suggests it might be dbus that is the helper.

ls -l /lib64/dbus-1/dbus-daemon-launch-helper

-rwsr-x---. 1 root dbus 45592 Jul 27 16:53 
/lib64/dbus-1/dbus-daemon-launch-helper


It's part of the dbus package.

Hugh




More information about the rhelv6-list mailing list