polkit-check-caller

Langue: en

Version: 43139 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

NAME

polkit-check-caller - check access

SYNOPSIS

polkit-check-caller [options]

DESCRIPTION

polkit-check-caller can be used to determine if a given caller can a given action. For more information about the big picture refer to the PolicyKit spec which can be found in /usr/share/doc/policykit/spec/polkit-spec.html depending on the distribution.

OPTIONS

The following options are supported:
--action
The action to check.
--caller
The caller to check for. Must be the callers unique name on the D-Bus system message bus.
--resource-type
Type of resource.
--resource
Identifier of resource.
--help
Print out usage.
--version
Print the version.

RETURN VALUE

If access is allowed, this program exits with exit code 0. If no access is allowed or an error occurs, the program exits with a non-zero exit code.

BUGS

Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe.

SEE ALSO

PolicyKit(8), dbus-daemon(1), polkit-check-session(1)

AUTHOR

Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.