pkcheck
TLDR
Check authorization
$ pkcheck --action-id [org.freedesktop.action] --process [pid]
Check with user$ pkcheck --action-id [action] --user [username]
Allow user interaction$ pkcheck --action-id [action] --process [pid] --allow-user-interaction
SYNOPSIS
pkcheck [options]
DESCRIPTION
pkcheck checks PolicyKit authorization. Verifies action permissions.
The tool queries polkit daemon. Used for privilege checks.
pkcheck verifies authorization.
PARAMETERS
--action-id ACTION
PolicyKit action ID.--process PID
Process ID to check.--user USER
User to check.--allow-user-interaction
Enable authentication dialog.--help
Display help.
CAVEATS
Part of PolicyKit. Requires polkitd running.
HISTORY
pkcheck is part of PolicyKit for checking authorization policies.


