Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Consolekit is rather broken in Debian Wheezy, and doesn't allow you to do stuff you want. This is a crude and hamfisted method for changing that. As a bonus, it lets you mount stuff, etc. without running a ton of consolekit threads.
Warning: I do not know the full security implications of this tweak. It might allow unprivileged users to format drives, or other such idiotic things. DO NOT DO THIS ON ANY PRODUCTION MACHINE!
But yeah. Just put this in /etc/polkit-1/localauthority/50-local.d/allow-everything.pkla...
Replace $GROUPNAME with the group name of your choice. Alternatively, you can use unix-user:$USERNAME. Happy automounting.
Again: I do not know ANYTHING of the security implications of this, other than that they are probably bad. Do not blame me if this tweak breaks your Debian installation, or otherwise causes bad things to happen.
Last edited by Gullible Jones on 2011-12-20 22:17, edited 1 time in total.
user@localhost:~$ pkexec su -
root@localhost:~# whoami
root
So yeah, do this if you're totally fed up with Consolekit breakage and don't care about having security worse than OotB Windows XP Home. Otherwise, don't.
The thing is that sometimes .pkla files wouldnt work for me. But editing the .xml formatted configs (/usr/share/polkit-1/actions/org.freedesktop.*) and inserting there the allow_any tag it worked.
The issue comes from consolekit's new version. It seems these authentication issues arise if the graphical display manager is xdm or slim (or there is no graphical manager and startx is used).
Working gdm's: GDM3 (gnome), KDM (KDE), lightdm (DE independent). I would recommend lightdm for non Gnome/KDE DE's, it is really light and looks well.