[Pkg-utopia-maintainers] Bug#841878: policykit-1: Authentication fails with valid credentials

Brian Vaughan bgvaughan at gmail.com
Mon Oct 24 17:38:14 UTC 2016


On 10/24/2016 02:28 AM, Simon McVittie wrote:
> On Sun, 23 Oct 2016 at 21:13:24 -0700, Brian Vaughan wrote:
>> Authenticating as: Brian Vaughan,,, (brian)
>> Password:
>> polkit-agent-helper-1: pam_authenticate failed: Authentication failure
> 
> Please look in /var/log/auth.log for clues as to why your configured PAM
> stack might have refused your valid credentials.
> 
> (It's entirely possible that this was caused by a policykit-1 change,
> but to know what to do about it, we'll likely need that information.)
> 
> Thanks,
>     S
> 

Here's the part of the auth.log from first launching synaptic through
the desktop menu, and second from 'synaptic-pkexec' at the command line.
(Full log is attached.)

Oct 24 10:22:13 brian-laptop polkitd[666]: Registered Authentication
Agent for unix-process:1413:40576 (system bus name :1.54 [pkexec
/usr/sbin/synaptic], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Oct 24 10:22:24 brian-laptop polkitd[666]: Operator of
unix-process:1413:40576 FAILED to authenticate to gain authorization for
action com.ubuntu.pkexec.synaptic for unix-process:1413:40576 [/bin/sh
/usr/bin/synaptic-pkexec] (owned by unix-user:brian)
Oct 24 10:22:24 brian-laptop pkexec[1414]: brian: Error executing
command as another user: Not authorized [USER=root] [TTY=/dev/pts/0]
[CWD=/home/brian] [COMMAND=/usr/sbin/synaptic]
Oct 24 10:22:24 brian-laptop polkitd[666]: Unregistered Authentication
Agent for unix-process:1413:40576 (system bus name :1.54, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Oct 24 10:22:55 brian-laptop sudo:    brian : TTY=pts/0 ;
PWD=/home/brian ; USER=root ; COMMAND=/bin/cp /var/log/auth.log auth.log
Oct 24 10:22:55 brian-laptop sudo: pam_unix(sudo:session): session
opened for user root by (uid=0)

The error message in the terminal was slightly different.

==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: Brian Vaughan,,, (brian)
Password:
polkit-agent-helper-1: error response to PolicyKit daemon:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auth.log
Type: text/x-log
Size: 26984 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20161024/b9ca9405/attachment-0001.bin>


More information about the Pkg-utopia-maintainers mailing list