[rhelv6-list] setuid helper permission???

dsavage at peaknet.net dsavage at peaknet.net
Thu Dec 1 03:13:00 UTC 2011


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




More information about the rhelv6-list mailing list