Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Unlock button in services is grayed out

  1. #11
    Join Date
    Aug 2009
    Beans
    1

    Re: Unlock button in services is grayed out

    Thanks a lot, you nailed it!
    This avoided a lot of misery.

    evdv

  2. #12
    Join Date
    Aug 2009
    Beans
    2
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unlock button in services is grayed out

    Editing PolicyKit.conf didn't allow me to change services, but this did the trick...
    $ su -c services-admin

  3. #13
    Join Date
    May 2006
    Location
    Northern California
    Beans
    39
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Unlock button in services is grayed out

    ***** BIG FAT WARNING *****

    DO NOT DO THIS IF YOU EXPECT ANY USER SECURITY!!! The "fix" described above (blindly putting <return result="yes"/> in /etc/PolicyKit/PolicyKit.conf) will allow ANY USER to start/stop services.

    THIS IS BAD ON MULTI-USER SYSTEMS!! I am sure there is a cleaner fix for this. Please do not advocate bypassing security for functionality.
    Last edited by lns; September 24th, 2009 at 07:45 PM.
    apt-get moo

  4. #14
    Join Date
    May 2006
    Location
    Northern California
    Beans
    39
    Distro
    Ubuntu 9.10 Karmic Koala

    Exclamation Re: Unlock button in services is grayed out

    To *safely* work around this issue, please do the following:

    Code:
    sudo polkit-action --set-defaults-any org.freedesktop.systemtoolsbackends.set auth_admin
    This will require authentication of a user of the 'admin' group to use the "unlock" button of Services specifically instead of blindly granting authentication for EVERY policykit action for EVERY user without asking for ANY credentials.

    Please note that you can use this command for other things as well, such as users-admin (which probably experiences the same issue if you're not logged onto the system console itself, such as if you're logged in via remote X, SSH, VNC, or an LTSP client). All you have to do is find the action identifier. For users-admin, it's "org.freedesktop.systemtoolsbackends.self.set" .
    apt-get moo

  5. #15
    Join Date
    Aug 2009
    Beans
    8

    Re: Unlock button in services is grayed out

    Now I have upgraded to Karmic Koala and can't make "unlock " button enabled by editing /etc/PolicyKit/PolicKit.conf" simply because " Policy Kit" is deprecated in 9.10. How to enable "unlock" button by default ? It is so annoying to enter my password every time, and I don't need that level of security for my notebook.
    Last edited by highlander2; October 24th, 2009 at 06:43 PM.

  6. #16
    Join Date
    Nov 2006
    Beans
    21

    Re: Unlock button in services is grayed out

    I've tried adding
    <return result="yes"/>

    and...

    sudo polkit-action --set-defaults-any org.freedesktop.systemtoolsbackends.self.set auth_admin


    My "unlock" button in users-admin is still grey.

    I'm logging in via vnc.

    Thank god for command line.


  7. #17
    Join Date
    Jan 2006
    Beans
    95
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Unlock button in services is grayed out

    I've started getting this issue, and have tried all of the above suggestions but not had any luck.

    I'm running a completely fresh install of 9.10. It's another frustrating regression bug that always seem to slip in after a release.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •