软件中心不提示输入密码

我正在使用Ubuntu 10.10。 当我想安装/删除任何应用程序时,软件中心要求我输入密码。 从上周开始,它没有提示输入密码。 另外,我对update-manager也有同样的问题。 但是,Synaptic和sudo apt-get要求输入密码。
如何解决这个问题?

这是你们需要知道的文件的链接

sudoers文件

的/ 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

如前所述,问题可能是您的PolicyKit配置。 我会对/etc/polkit-1目录中的文件内容和/usr/share/polkit-1/actions/org.debian.apt.policy文件感兴趣。 输出可能很长,所以你可能想要压缩它并将其上传到某个地方而不是在这里复制它…

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

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

编辑:上传文件后,我可以看到问题出现在/var/lib/polkit-1/localauthority/50-local.d/20-xbmclive.pkla文件中,该文件似乎是由XBMC安装的通过polkit有效地关闭所有身份validation(为什么它已经这样做,如果真的需要我不知道,我不使用这个软件)。

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