polkit-is-privileged - check PolicyKit privileges
polkit-is-privileged [-hvV] -u user -p privilege [-r resource]
The polkit-is-privileged command queries system policy to determine whether a user is allowed for a given privilege and resource. The resource name can be omitted. On the Solaris operating system, RBAC authorizations names should be used as privilege names.
Currently, the only consumer of PolicyKit is hald(1M).
The following options are supported:
-h, --help
-p privilege, --privilege privilege
-r resource, --resource resource
-u user, --user user
-v, --verbose
-V, --version
See attributes(5) for descriptions of the following attributes:
|
auths(1), profiles(1), hald(1M), getauthattr(3SECDB), auth_attr(4), policy.conf(4), prof_attr(4), user_attr(4), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |