polkit-check-session

Langue: en

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

Section: 1 (Commandes utilisateur)

NAME

polkit-check-session - check access

SYNOPSIS

polkit-check-session [options]

DESCRIPTION

polkit-check-session can be used to determine if a given session can do 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.
--session
The session to check for. Must be a ConsoleKit object path. If ommitted the current session is used.
--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-caller(1)

AUTHOR

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