Ubuntu – Software Center doesn’t prompt for password

10.10passwordpolicykitsoftware-center

I'm using Ubuntu 10.10.
The software center was asking me for password when I wanted to install/remove any application. Since last week, it doesn't prompt for password. Also, I have the same problem with update-manager. However, Synaptic and sudo apt-get ask for password.
How to fix this?

this is link to the files that you guys need to know

sudoers file

/etc/polkit-1

/usr/share/polkit-1/actions/org.debian.apt.policy

sudo grep -IR '^[^#]' /var/lib/polkit-1

grep '^[^#]' /etc/apt/apt.conf.d/20dbus /etc/dbus-1/system.d/org.debian.apt.conf /usr/share/dbus-1/system-services/org.debian.apt.service

Best Answer

As already said, the problem may be your PolicyKit configuration. I would be interested in the contents of the files in /etc/polkit-1 directory and the file /usr/share/polkit-1/actions/org.debian.apt.policy. The output can be lengthy, so you may want to compress it and upload it somewhere rather than copy it here...

grep -IR '^[^#]' /etc/polkit-1

cat /usr/share/polkit-1/actions/org.debian.apt.policy

EDIT: After you've uploaded the files I can see that the problem is in your /var/lib/polkit-1/localauthority/50-local.d/20-xbmclive.pkla file which seems to have been installed by XBMC and effectively turns off all authentication via polkit (why it has done so and if it is really needed I don't know, I don't use this software).

[XBMC-Live user permissions]
Identity=unix-user:azizjoh
Action=*
ResultAny=no
ResultInactive=no
ResultActive=yes
Related Question