Your message dated Fri, 16 Nov 2018 19:57:03 -0500
with message-id
<caaxqlfw9jquvdyv2vaamf+jryjaqeqsdcuzh4z0tiu3btq7...@mail.gmail.com>
and subject line Just wanted to close because of a bit of privacy concerns
has caused the Debian Bug report #913919,
regarding Policykit-1: "...Error executing command as another user: Not
authorized..."
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
913919: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913919
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: policykit-1
Version: 0.105-21
Severity: important
Dear Maintainer,
thunar won't open via pkexec. I get:
"pkexec thunar %f
==== AUTHENTICATING FOR org.xfce.thunar ===
Authentication is required to run Thunar as root.
Authenticating as: root
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."
-----------------------------------------
After executing "pkexec thunar %f" I see in /var/log/auth.log I see:
Nov 16 19:22:03 my-user-name polkitd(authority=local): Registered
Authentication Agent for unix-process:9445:650488 (system bus name :1.129
[pkexec thunar %f], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 16 19:22:09 my-user-name polkitd(authority=local): Operator of
unix-process:9445:650488 FAILED to authenticate to gain authorization for
action org.xfce.thunar for unix-process:9445:650488 [bash] (owned by
unix-user:xc)
Nov 16 19:22:09 my-user-name pkexec[9521]: xc: Error executing command as
another user: Not authorized [USER=root] [TTY=/dev/pts/3] [CWD=/home/xc]
[COMMAND=/usr/bin/thunar %f]
Nov 16 19:22:09 my-user-name polkitd(authority=local): Unregistered
Authentication Agent for unix-process:9445:650488 (system bus name :1.129,
object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
------------------------------
Cheers,
Awtul
--------
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8),
LANGUAGE=es_ES:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages policykit-1 depends on:
ii dbus 1.12.10-1
ii libc6 2.27-8
ii libglib2.0-0 2.58.1-2
ii libpam-systemd 239-11
ii libpam0g 1.1.8-3.8
ii libpolkit-agent-1-0 0.105-21
ii libpolkit-backend-1-0 0.105-21
ii libpolkit-gobject-1-0 0.105-21
policykit-1 recommends no packages.
policykit-1 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
--- End Message ---