user2@computer:~/cm$ pkexec bash
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/bash' as the super user
Multiple identities can be used for authentication:
1. Administrator,,, (admin)
2. ,,, (user1)
3. ,,, (user2)
Choose identity to authenticate as (1-3): 3
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.
user2@computer:~/cm$
I am still having this bug.
apport-cli --version
2.20.11
pkexec --version
pkexec version 0.105
user2@computer: ~/cm$ pkexec bash .policykit. exec === agent-helper- 1: error response to PolicyKit daemon: GDBus.Error: org.freedesktop .PolicyKit1. Error.Failed: No session for cookie
==== AUTHENTICATING FOR org.freedesktop
Authentication is needed to run `/usr/bin/bash' as the super user
Multiple identities can be used for authentication:
1. Administrator,,, (admin)
2. ,,, (user1)
3. ,,, (user2)
Choose identity to authenticate as (1-3): 3
Password:
polkit-
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized
This incident has been reported. ~/cm$
user2@computer: