Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: authentication failure for installing software or adding users

  1. #1
    Join Date
    May 2010
    Location
    Brussels, BE
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy authentication failure for installing software or adding users

    Hi -

    I can login fine, and I can execute things from command line with sudo, and I have confirmed that I am a member of the admin group.

    However when trying to install something from Ubuntu Software Center, or trying to add a user from GUI, I get an authentication failure. authlog just confirms there is an authentication failure but does not give any reason.

    As background I happened to hose my permissions in the /etc/ folder recently. Had to much around to get sudoers working again. So not sure if I need to get all permissions correct to fix this problem, or what to do.

    Thanks for any help.

    - Lucy

  2. #2
    Join Date
    Aug 2006
    Beans
    13,001
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: authentication failure for installing software or adding users

    What exactly happened to the permissions of /etc?

  3. #3
    Join Date
    May 2010
    Location
    Brussels, BE
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: authentication failure for installing software or adding users

    I was trying to fix a different problem a couple of weeks ago, and stupidly set all of /etc/ to chmod 777.

    Then sudo didn't work and I had to set sudoers back to 440.

    Then I started to realize that the 777 was a really bad idea so now have it all set to 755, but really have no idea how to get original permissions back short of reinstalling.

    Not sure if this is what's causing the authentication problem but I'm not remembering anything else weird that happened that could have caused it.

    BTW, since sudo at command line works fine and it seems like only gui apps have the authentication problem, I'm thinking it's something wrong with policykit getting the permissions???

    But really I'm over my head here.

  4. #4
    Join Date
    May 2010
    Location
    Brussels, BE
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: authentication failure for installing software or adding users

    This is what auth.log says when I try to add a user via the gui. (and the gui displays a shaky window that says "authentication failure" but never asks me for a password)

    Code:
    May 24 16:26:49 oiseau polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session2 FAILED to authenticate to gain authorization for action org.freedesktop.systemtoolsbackends.set for system-bus-name::1.54 [users-admin] (owned by unix-user:lucy)

  5. #5
    Join Date
    Aug 2006
    Beans
    13,001
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: authentication failure for installing software or adding users

    A quick look through ls -l /etc output shows that most of the files have permissions of rwxr-xr-x = 755, all root ownership, but quite a few have rw-r--r-- = 644, and some rw-r----.
    I really don't know how to sort it out short of reinstalling.

  6. #6
    Join Date
    Dec 2010
    Location
    Vietnam (currently)
    Beans
    1

    Re: authentication failure for installing software or adding users

    This is almost the exact same thing that has happened to me, and it started after allowed permission to an unstrusted site (I am not sure if this is the same as 'hosing my permissions'). The untrusted site in question was Facebook (the actual facebook, not a phish site) after I altered the DNS to access it. (it's blocked in the country I am living in).

    Suffice to say I believe there must be a way around this outside of reinstalling.

    *sighs*

  7. #7
    Join Date
    Feb 2011
    Beans
    1

    Re: authentication failure for installing software or adding users

    hi everyone,

    i am having exactly the same problem. i have recently played around with the permissions of /usr and had some issues with root privileges. i managed to change the permissions back and compared some permissions with another computer. they seem to be fine now, but ever since then i cannot access to software center and add a user from Administration/UsersandGroups. and i am getting the exact same message in /var/log/auth.log (I can install packages from synaptic package manager just fine and do everything from terminal without a problem.)

    has anyone figured out how to solve this problem yet

    thanks!

  8. #8
    Join Date
    Dec 2010
    Beans
    4

    Re: authentication failure for installing software or adding users

    I'm also dealing with this issue. It seemed to start happening after trying to modify permissions for the icons folder. Although, now I can't remember what exactly I changed the permissions to.

    Example of my problem:

    Check for system updates, click install updates, Authentication Required box pops up without asking for password, click Authenticate and nothing happens.

    The box stays there...

    Any ideas?

  9. #9
    Join Date
    Nov 2009
    Beans
    1

    Re: authentication failure for installing software or adding users

    Hi All

    I've the same problem. Solved it doing a ..

    Code:
    sudo chmod +s /usr/lib/policykit-1/polkit-agent-helper-1

  10. #10
    Join Date
    Apr 2008
    Beans
    29

    Re: authentication failure for installing software or adding users

    I've tried the chmod +s command but I still have the problem

    auth.log shows:


    Jun 21 11:45:25 angelo-desktop polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session9 FAILED to authenticate to gain authorization for action org.freedesktop.NetworkManager.settings.modify.sys tem for system-bus-name::1.170 [<unknown>] (owned by unix-user:angelo)


    I tried purging policykit and reinstall it to no avail

    when I try to save a setting on the network manager a windows with the password input appears but it lasts less then a second then it disappear, I catched a screenshot of that windows and it looks like I failed to input the password (though I didnt even have the chance to write it)

    any ideas?

Page 1 of 2 12 LastLast

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
  •