[Pkg-utopia-maintainers] Bug#863114: Bug#863114: policykit-1: pkttyagent does not acquire authentication
James Blanford
jhblanford at gmail.com
Mon May 22 02:32:25 UTC 2017
On Mon, 22 May 2017 02:40:55 +0200
Michael Biebl <biebl at debian.org> wrote:
> Am 22.05.2017 um 02:31 schrieb James Blanford:
> > The failure has an auth.log entry "Operator of unix-session:1
> > FAILED to authenticate Error executing command as another user: Not
> > Authorized
>
> ..
>
> > Init: sysvinit (via /sbin/init)
>
> Can you reproduce the problem with systemd as your init system?
>
>
Yes, but on a different system, already using systemd as init, for
convenience.
ls -l /sbin/init
lrwxrwxrwx 1 root root 20 Jan 4 16:42 /sbin/init
-> /lib/systemd/systemd
apt-cache show policykit-1
Package: policykit-1
Version: 0.105-15~deb8u2
auth.log entries for failure with pkttyagent:
polkitd(authority=local): Registered Authentication Agent for
unix-process:1834:84660 (system bus name :1.14
[/usr/bin/pkexec /xxxx], object
path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
en_US.UTF-8)
polkitd(authority=local): Operator of unix-process:1834:84660 FAILED to
authenticate to gain authorization for action
com.xxxx.pkexec.xxxx for unix-process:1834:84660
[/bin/bash /xxxx] (owned by unix-user:uuu)
pkexec[1842]: uuu: Error executing command as another user: Not
authorized [USER=root] [TTY=/dev/pts/2] [CWD=/home/uuu]
[COMMAND=/xxxx]
polkitd(authority=local): Unregistered Authentication Agent for
unix-process:1834:84660 (system bus name :1.14, object
path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
en_US.UTF-8)
auth.log entries for success with lxsession
polkitd(authority=local): Registered Authentication Agent for
unix-session:1 (system bus name :1.22 [lxpolkit], object
path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US)
polkitd(authority=local): Operator of unix-session:1 successfully
authenticated as unix-user:uuu to gain ONE-SHOT authorization for
action com.xxxx.pkexec.xxxx for unix-process:2408:159798
[/bin/bash /xxxx] (owned by unix-user:uuu)
pkexec: pam_unix(polkit-1:session): session opened for user root by
uuu(uid=iiii)
pkexec[2416]: uuu: Executing command [USER=root] [TTY=/dev/pts/0]
[CWD=/home/uuu] [COMMAND=/xxxx]
--
JBo, the widely declaimed writer from the hinterlands of New Mexico.
More information about the Pkg-utopia-maintainers
mailing list