1polkit-is-privileged(1M)System Administration Commandspolkit-is-privileged(1M)
2
3
4

NAME

6       polkit-is-privileged - check PolicyKit privileges
7

SYNOPSIS

9       polkit-is-privileged  [-hvV] -u user -p privilege [-r resource]
10
11

DESCRIPTION

13       The  polkit-is-privileged  command  queries  system policy to determine
14       whether a user is allowed for  a  given  privilege  and  resource.  The
15       resource  name  can  be  omitted. On the Solaris operating system, RBAC
16       authorizations names should be used as privilege names.
17
18
19       Currently, the only consumer of PolicyKit is hald(1M).
20

OPTIONS

22       The following options are supported:
23
24       -h, --help
25
26           Display list of options and exit.
27
28
29       -p privilege, --privilege privilege
30
31           Name of privilege associated with  user.  Command  tests  for  this
32           privilege.
33
34
35       -r resource, --resource resource
36
37           Name  of resource associated with user and privilege. Command tests
38           for this resource.
39
40
41       -u user, --user user
42
43           User name or user id that is tested for.
44
45
46       -v, --verbose
47
48           Verbose mode.
49
50
51       -V, --version
52
53           Displays version number.
54
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Availability                 │SUNWhalr                     │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │Interface Stability          │Volatile                     │
68       └─────────────────────────────┴─────────────────────────────┘
69

SEE ALSO

71       auths(1),  profiles(1),  hald(1M),  getauthattr(3SECDB),  auth_attr(4),
72       policy.conf(4), prof_attr(4), user_attr(4), attributes(5)
73
74
75
76SunOS 5.11                        22 Aug 2006         polkit-is-privileged(1M)
Impressum