Advertisement
Guest User

polkit_fail

a guest
Mar 25th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  1. [testuser@laptak ~]$ pkexec echo 'hi'
  2. ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
  3. Authentication is needed to run `/usr/bin/echo' as the super user
  4. Multiple identities can be used for authentication:
  5. 1.  takkie
  6. 2.  testuser
  7. Choose identity to authenticate as (1-2): 2
  8. Password:
  9. polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
  10. ==== AUTHENTICATION FAILED ====
  11. Error executing command as another user: Not authorized
  12.  
  13. This incident has been reported.
  14.  
  15. ## journalctl
  16. Mar 25 20:18:23 laptak polkitd[23267]: Registered Authentication Agent for unix-process:23767:871019 (system bus name :1.517 [pkexec echo hi], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
  17. Mar 25 20:18:31 laptak polkitd[23267]: Operator of unix-process:23767:871019 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:23767:871019 [-bash] (owned by unix-user:testuser)
  18. Mar 25 20:18:31 laptak pkexec[23783]: testuser: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/0] [CWD=/home/testuser] [COMMAND=/usr/bin/echo hi]
  19. Mar 25 20:18:31 laptak polkitd[23267]: Unregistered Authentication Agent for unix-process:23767:871019 (system bus name :1.517, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement