Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Debian 6.0.5

(Squeeze)

pkcheck(1)


PKCHECK

PKCHECK

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

NAME

pkcheck − Check whether a process is authorized

SYNOPSIS

pkcheck [−−version] [−−help]

pkcheck −−action−id action {−−process pid pid,pid−start−time } | −−system−bus−name busname} [−−allow−user−interaction] [−−detail key value...]

DESCRIPTION

pkcheck is used to check whether a process, specified by either −−process or −−system−bus−name, is authorized for action. The −−detail option can be used zero or more times to pass details about action. If −−allow−user−interaction is passed, pkcheck blocks while waiting for authentication.

This command is a simple wrapper around the PolicyKit D−Bus interface; see the D−Bus interface documentation for details.

RETURN VALUE

If the specified process is authorized, pkcheck exits with a return value of 0. If the authorization result contains any details, these are printed on standard output as key/value pairs using environment style reporting, e.g. first the key followed by a an equal sign, then the value followed by a newline.

KEY1=VALUE1
KEY2=VALUE2
KEY3=VALUE3
...

Octects that are not in [a−zA−Z0−9_] are escaped using octal codes prefixed with \. For example, the UTF−8 string føl,



pkcheck(1)