hal-is-caller-privileged - determine if a caller is privileged
determines if a specific caller is privileged
for a given PolicyKit
action on given device. For more information
about both the big picture, HAL
, refer to the
(which can be found in
depending on the
distribution) and also the PolicyKit
The following options are supported:
- The UDI (Unique Device Identifier) of the device object.
- PolicyKit action to check for.
- The unique D-Bus name on the system bus of the caller.
- Print out usage.
- Print the version.
If an error occurs this program exits with a non-zero exit code. Otherwise the
textual reply will be printed on stdout and this program will exit with exit
code 0. Unprivileged callers (e.g. with a non-zero uid) can only ask about
callers/processes that matches their own uid.
Please send bug reports to either the distribution or the HAL mailing list, see
on how to subscribe.
Written by David Zeuthen <email@example.com> with a lot of help from many