[9d3d8a8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[60caf48] | 7 | <!ENTITY polkit-download-http "https://gitlab.freedesktop.org/polkit/polkit/-/archive/&polkit-version;/polkit-&polkit-version;.tar.gz">
|
---|
[f47c6a6b] | 8 | <!ENTITY polkit-download-ftp " ">
|
---|
[3fe867a0] | 9 | <!ENTITY polkit-md5sum "bbe3e745fc5bc1a41f1b5044f09a0f26">
|
---|
[7d5d3d4] | 10 | <!ENTITY polkit-size "728 KB">
|
---|
[3fe867a0] | 11 | <!ENTITY polkit-buildsize "7.0 MB (with tests)">
|
---|
[7d5d3d4] | 12 | <!ENTITY polkit-time "0.3 SBU (with tests, using parallelism=4)">
|
---|
[9d3d8a8] | 13 | ]>
|
---|
| 14 |
|
---|
[01996ebb] | 15 | <sect1 id="polkit" xreflabel="Polkit-&polkit-version;">
|
---|
[9d3d8a8] | 16 | <?dbhtml filename="polkit.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[01996ebb] | 19 | <title>Polkit-&polkit-version;</title>
|
---|
[9d3d8a8] | 20 |
|
---|
| 21 | <indexterm zone="polkit">
|
---|
[01996ebb] | 22 | <primary sortas="a-Polkit">Polkit</primary>
|
---|
[9d3d8a8] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[01996ebb] | 26 | <title>Introduction to Polkit</title>
|
---|
[9d3d8a8] | 27 |
|
---|
[b84342d6] | 28 | <para>
|
---|
[01996ebb] | 29 | <application>Polkit</application> is a toolkit for defining and handling
|
---|
[9ca304a] | 30 | authorizations. It is used for allowing unprivileged processes to
|
---|
[30f82900] | 31 | communicate with privileged processes.
|
---|
[b84342d6] | 32 | </para>
|
---|
[9d3d8a8] | 33 |
|
---|
[aa0b625] | 34 | &lfs112_checked;
|
---|
[27e62762] | 35 |
|
---|
[9d3d8a8] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[b84342d6] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&polkit-download-http;"/>
|
---|
| 41 | </para>
|
---|
[9d3d8a8] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[b84342d6] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&polkit-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[9d3d8a8] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[b84342d6] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &polkit-md5sum;
|
---|
| 51 | </para>
|
---|
[9d3d8a8] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[b84342d6] | 54 | <para>
|
---|
| 55 | Download size: &polkit-size;
|
---|
| 56 | </para>
|
---|
[9d3d8a8] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[b84342d6] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &polkit-buildsize;
|
---|
| 61 | </para>
|
---|
[9d3d8a8] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[b84342d6] | 64 | <para>
|
---|
| 65 | Estimated build time: &polkit-time;
|
---|
| 66 | </para>
|
---|
[9d3d8a8] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[ad539dbe] | 69 |
|
---|
[7d5d3d4] | 70 | <!--
|
---|
[7e280b45] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
[ad539dbe] | 73 | <listitem>
|
---|
[4a0b346] | 74 | <para>
|
---|
[7e280b45] | 75 | Required patch:
|
---|
[4483a9a] | 76 | <ulink url="&patch-root;/polkit-&polkit-version;-security_fixes-1.patch"/>
|
---|
[4a0b346] | 77 | </para>
|
---|
| 78 | </listitem>
|
---|
[b5b1af68] | 79 | <listitem>
|
---|
| 80 | <para>
|
---|
| 81 | Required patch:
|
---|
| 82 | <ulink url="&patch-root;/polkit-&polkit-version;-js91-1.patch"/>
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
[3b40dbb3] | 85 | </itemizedlist>
|
---|
[7d5d3d4] | 86 | -->
|
---|
[ad539dbe] | 87 |
|
---|
[01996ebb] | 88 | <bridgehead renderas="sect3">Polkit Dependencies</bridgehead>
|
---|
[9d3d8a8] | 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[bb947c32] | 91 | <para role="required">
|
---|
[6d03f3e] | 92 | <xref linkend="glib2"/> and
|
---|
[f401faa6] | 93 | <xref linkend="duktape"/>
|
---|
[4c2be438] | 94 | </para>
|
---|
| 95 |
|
---|
[51dfb3e] | 96 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 97 | <para role="recommended">
|
---|
[59f6a1f] | 98 | <xref linkend="gobject-introspection"/>,
|
---|
| 99 | <xref linkend="libxslt"/>,
|
---|
[6288de8] | 100 | <xref linkend="linux-pam"/>
|
---|
[7cb46359] | 101 | <phrase revision="sysv">
|
---|
[8558044] | 102 | and <xref role="first" linkend="elogind"/>
|
---|
[7cb46359] | 103 | </phrase>
|
---|
[f586237] | 104 | </para>
|
---|
| 105 |
|
---|
[51dfb3e] | 106 | <note>
|
---|
[f586237] | 107 | <para>
|
---|
[51dfb3e] | 108 | Since <phrase revision="sysv"><command>elogind</command></phrase>
|
---|
| 109 | <phrase revision="systemd"><command>systemd-logind</command></phrase>
|
---|
| 110 | uses PAM to register user sessions, it is a good idea to build
|
---|
| 111 | <application>Polkit</application> with PAM support so
|
---|
| 112 | <phrase revision="sysv"><command>elogind</command></phrase>
|
---|
| 113 | <phrase revision="systemd"><command>systemd-logind</command></phrase>
|
---|
| 114 | can track <application>Polkit</application> sessions.
|
---|
[f586237] | 115 | </para>
|
---|
| 116 | </note>
|
---|
| 117 |
|
---|
| 118 |
|
---|
[59f6a1f] | 119 | <!-- Due to the fact that meson will not autodetect g-i and
|
---|
| 120 | has it set to required unless you pass an option, and the likelihood
|
---|
| 121 | of users ignoring a command explanation and then sending in mails
|
---|
| 122 | regarding KDE or GNOME not working after installing polkit, let's move
|
---|
| 123 | it to recommended. See #15640 for logic
|
---|
[4c2be438] | 124 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 125 | <para role="optional">
|
---|
| 126 | <xref linkend="gobject-introspection"/>
|
---|
| 127 | </para>
|
---|
[59f6a1f] | 128 | -->
|
---|
[9d3d8a8] | 129 |
|
---|
| 130 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[bb947c32] | 131 | <para role="optional">
|
---|
[a428935] | 132 | <xref linkend="gtk-doc"/>,
|
---|
[14bd41d] | 133 | <xref linkend="js102"/> (can be used in place of duktape), and
|
---|
[a428935] | 134 | <xref linkend="python-dbusmock"/> (for tests)
|
---|
[f586237] | 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <bridgehead renderas="sect4" revision="systemd">Required Runtime Dependencies</bridgehead>
|
---|
| 138 | <para role="required" revision="systemd">
|
---|
[96e9478] | 139 | <xref role="runtime" linkend="systemd"/>
|
---|
[4c2be438] | 140 | </para>
|
---|
[875b4070] | 141 |
|
---|
[f13e9026] | 142 | <bridgehead renderas="sect4" id="polkit-agent" xreflabel="Polkit Authentication Agent">
|
---|
| 143 | Optional Runtime Dependencies
|
---|
| 144 | </bridgehead>
|
---|
[fee64868] | 145 | <para role="optional">
|
---|
| 146 | One polkit authentication agent for using polkit in the graphical
|
---|
| 147 | environment:
|
---|
| 148 | <application>polkit-kde-agent</application> in
|
---|
| 149 | <xref role="runtime" linkend="plasma5-build"/> for KDE,
|
---|
| 150 | the agent built in
|
---|
| 151 | <xref role="runtime" linkend="gnome-shell"/> for GNOME3,
|
---|
| 152 | <xref role="runtime" linkend="polkit-gnome"/> for XFCE, and
|
---|
| 153 | <application>lxpolkit</application> in
|
---|
[a428935] | 154 | <xref role="runtime" linkend="lxsession"/> for LXDE
|
---|
[fee64868] | 155 | </para>
|
---|
| 156 |
|
---|
[875b4070] | 157 | <note>
|
---|
[b84342d6] | 158 | <para>
|
---|
[f586237] | 159 | If <xref linkend="libxslt"/> is installed,
|
---|
| 160 | then <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/> are
|
---|
| 161 | required. If you have installed <xref linkend="libxslt"/>, but you do
|
---|
| 162 | not want to install any of the DocBook packages mentioned, you will
|
---|
[59f6a1f] | 163 | need to use <option>-Dman=false</option> in the instructions
|
---|
[f586237] | 164 | below.
|
---|
[b84342d6] | 165 | </para>
|
---|
[875b4070] | 166 | </note>
|
---|
[9d3d8a8] | 167 |
|
---|
| 168 | <para condition="html" role="usernotes">User Notes:
|
---|
[37aba7f] | 169 | <ulink url="&blfs-wiki;/polkit"/>
|
---|
| 170 | </para>
|
---|
[9d3d8a8] | 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | <sect2 role="installation">
|
---|
[01996ebb] | 174 | <title>Installation of Polkit</title>
|
---|
[9d3d8a8] | 175 |
|
---|
[b84342d6] | 176 | <para>
|
---|
[01996ebb] | 177 | There should be a dedicated user and group to take control
|
---|
| 178 | of the <command>polkitd</command> daemon after it is
|
---|
| 179 | started. Issue the following commands as the
|
---|
| 180 | <systemitem class="username">root</systemitem> user:
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <screen role="root"><userinput>groupadd -fg 27 polkitd &&
|
---|
| 184 | useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
|
---|
| 185 | -g polkitd -s /bin/false polkitd</userinput></screen>
|
---|
| 186 |
|
---|
[7d5d3d4] | 187 | <!--
|
---|
[59f6a1f] | 188 | <para>
|
---|
| 189 | First, fix problems with setting permissions during installation and with
|
---|
| 190 | meson-0.60.0:
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <screen><userinput remap="pre">sed '/0,/s/^/#/' -i meson_post_install.py &&
|
---|
| 194 | sed '/policy,/d' -i actions/meson.build \
|
---|
| 195 | -i src/examples/meson.build</userinput></screen>
|
---|
[7e280b45] | 196 |
|
---|
| 197 | <para>
|
---|
[4483a9a] | 198 | Apply a patch to fix two security issues:
|
---|
[7e280b45] | 199 | </para>
|
---|
| 200 |
|
---|
[4483a9a] | 201 | <screen><userinput remap="pre">patch -Np1 -i ../polkit-&polkit-version;-security_fixes-1.patch</userinput></screen>
|
---|
[7e280b45] | 202 |
|
---|
[b5b1af68] | 203 | <para>
|
---|
| 204 | Port this package to use JS-91:
|
---|
| 205 | </para>
|
---|
| 206 |
|
---|
| 207 | <screen><userinput remap="pre">patch -Np1 -i ../polkit-&polkit-version;-js91-1.patch</userinput></screen>
|
---|
[7d5d3d4] | 208 | -->
|
---|
[b5b1af68] | 209 |
|
---|
[01996ebb] | 210 | <para>
|
---|
| 211 | Install <application>Polkit</application> by running the following
|
---|
[37aba7f] | 212 | commands:
|
---|
[b84342d6] | 213 | </para>
|
---|
[9d3d8a8] | 214 |
|
---|
[59f6a1f] | 215 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 216 | cd build &&
|
---|
| 217 |
|
---|
| 218 | meson --prefix=/usr \
|
---|
[60caf48] | 219 | --buildtype=release \
|
---|
[59f6a1f] | 220 | -Dman=true \
|
---|
| 221 | -Dsession_tracking=libsystemd-login \
|
---|
[60caf48] | 222 | -Dtests=true \
|
---|
[a428935] | 223 | -Djs_engine=duktape \
|
---|
[59f6a1f] | 224 | .. &&
|
---|
| 225 | ninja</userinput></screen>
|
---|
[51dfb3e] | 226 |
|
---|
[59f6a1f] | 227 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 228 | cd build &&
|
---|
| 229 |
|
---|
| 230 | meson --prefix=/usr \
|
---|
[60caf48] | 231 | --buildtype=release \
|
---|
[59f6a1f] | 232 | -Dman=true \
|
---|
| 233 | -Dsession_tracking=libelogind \
|
---|
| 234 | -Dsystemdsystemunitdir=/tmp \
|
---|
[7d5d3d4] | 235 | -Dtests=true \
|
---|
[f401faa6] | 236 | -Djs_engine=duktape \
|
---|
[59f6a1f] | 237 | .. &&
|
---|
| 238 | ninja</userinput></screen>
|
---|
| 239 |
|
---|
[60caf48] | 240 | <!--
|
---|
| 241 | "-t3" for raising the timeout to 90s, i. e. 3x the default:
|
---|
| 242 | https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/107
|
---|
| 243 | -->
|
---|
[b84342d6] | 244 | <para>
|
---|
[8558044] | 245 | To test the results, first ensure that the system
|
---|
[bf654b1] | 246 | <application>D-Bus</application> daemon is running,
|
---|
| 247 | and both <xref linkend='dbus-python'/> and
|
---|
| 248 | <xref linkend='python-dbusmock'/> are installed.
|
---|
[60caf48] | 249 | Then run <command>meson test -t3</command>.
|
---|
[59f6a1f] | 250 | </para>
|
---|
[9d3d8a8] | 251 |
|
---|
[b84342d6] | 252 | <para>
|
---|
| 253 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 254 | </para>
|
---|
[9d3d8a8] | 255 |
|
---|
[59f6a1f] | 256 | <screen role="root" revision="systemd"><userinput>ninja install</userinput></screen>
|
---|
| 257 |
|
---|
| 258 | <screen role="root" revision="sysv"><userinput>ninja install &&
|
---|
| 259 | rm -v /tmp/*.service</userinput></screen>
|
---|
[9d3d8a8] | 260 |
|
---|
| 261 | </sect2>
|
---|
| 262 |
|
---|
| 263 | <sect2 role="commands">
|
---|
| 264 | <title>Command Explanations</title>
|
---|
| 265 |
|
---|
[7e280b45] | 266 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 267 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 268 |
|
---|
[492cca2c] | 269 | <para>
|
---|
| 270 | <parameter>-Dtests=true</parameter>: This switch allows to run the
|
---|
| 271 | test suite of this package. As <application>Polkit</application> is
|
---|
| 272 | used for authorizations, its integrity can affect system security.
|
---|
| 273 | So it's recommended to run the test suite building this package.
|
---|
| 274 | </para>
|
---|
| 275 |
|
---|
[7d5d3d4] | 276 | <para>
|
---|
[a428935] | 277 | <parameter>-Djs_engine=duktape</parameter>: This switch allows using the
|
---|
| 278 | <xref linkend="duktape"/> JavaScript engine. Replace with
|
---|
[14bd41d] | 279 | <option>-Djs_engine=mozjs</option> for using the <xref linkend="js102"/>
|
---|
[a428935] | 280 | JavaScript engine.
|
---|
[7d5d3d4] | 281 | </para>
|
---|
| 282 |
|
---|
[59f6a1f] | 283 | <!--
|
---|
[4a0b346] | 284 | <para revision="sysv">
|
---|
[59f6a1f] | 285 | <parameter>- -disable-libsystemd-login</parameter>: This switch forces
|
---|
[4a0b346] | 286 | polkit to build with elogind support (if available) rather than
|
---|
| 287 | systemd-logind.
|
---|
| 288 | </para>
|
---|
| 289 |
|
---|
[7a9a7b26] | 290 |
|
---|
[ad539dbe] | 291 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 292 | href="../../xincludes/static-libraries.xml"/>
|
---|
[59f6a1f] | 293 | -->
|
---|
[7a9a7b26] | 294 |
|
---|
[51dfb3e] | 295 | <para>
|
---|
[59f6a1f] | 296 | <option>-Dauthfw=shadow</option>: This switch enables the
|
---|
[f586237] | 297 | package to use the <application>Shadow</application> rather than the
|
---|
| 298 | <application>Linux PAM</application> Authentication framework. Use it
|
---|
| 299 | if you have not installed <application>Linux PAM</application>.
|
---|
[b84342d6] | 300 | </para>
|
---|
| 301 |
|
---|
[59f6a1f] | 302 | <!--
|
---|
[e05cd03f] | 303 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[51dfb3e] | 304 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[59f6a1f] | 305 | -->
|
---|
| 306 |
|
---|
| 307 | <para>
|
---|
| 308 | <option>-Dintrospection=false</option>: Use this option if you are certain
|
---|
| 309 | that you do not need gobject-introspection files for polkit, or do not have
|
---|
| 310 | gobject-introspection installed.
|
---|
| 311 | </para>
|
---|
| 312 |
|
---|
| 313 | <para>
|
---|
| 314 | <option>-Dman=false</option>: Use this option to disable generating and
|
---|
| 315 | installing manual pages. This is useful if libxslt is not installed.
|
---|
| 316 | </para>
|
---|
| 317 |
|
---|
| 318 | <para>
|
---|
| 319 | <option>-Dexamples=true</option>: Use this option to build the example
|
---|
| 320 | programs.
|
---|
| 321 | </para>
|
---|
| 322 |
|
---|
| 323 | <para>
|
---|
| 324 | <option>-Dgtk_doc=true</option>: Use this option to enable building and
|
---|
| 325 | installing the API documentation.
|
---|
| 326 | </para>
|
---|
[51dfb3e] | 327 |
|
---|
[9d3d8a8] | 328 | </sect2>
|
---|
| 329 |
|
---|
[a6bd736] | 330 | <sect2 role="configuration">
|
---|
[01996ebb] | 331 | <title>Configuring Polkit</title>
|
---|
[a6bd736] | 332 |
|
---|
| 333 | <sect3>
|
---|
| 334 | <title>PAM Configuration</title>
|
---|
| 335 |
|
---|
| 336 | <note>
|
---|
[b84342d6] | 337 | <para>
|
---|
[01996ebb] | 338 | If you did not build <application>Polkit</application> with
|
---|
[ad539dbe] | 339 | <application>Linux PAM</application> support, you can skip this
|
---|
| 340 | section.
|
---|
[a6bd736] | 341 | </para>
|
---|
| 342 | </note>
|
---|
| 343 |
|
---|
[b84342d6] | 344 | <para>
|
---|
[0d7900a] | 345 | If you have built <application>Polkit</application> with
|
---|
| 346 | <application>Linux PAM</application> support, you need to modify
|
---|
[9ca304a] | 347 | the default PAM configuration file which was installed by default to get
|
---|
| 348 | <application>Polkit</application> to work correctly with BLFS. Issue the
|
---|
| 349 | following commands as the <systemitem class="username">root</systemitem>
|
---|
[b84342d6] | 350 | user to create the configuration file for <application>Linux PAM</application>:
|
---|
[a6bd736] | 351 | </para>
|
---|
| 352 |
|
---|
| 353 | <screen role="root"><userinput>cat > /etc/pam.d/polkit-1 << "EOF"
|
---|
| 354 | <literal># Begin /etc/pam.d/polkit-1
|
---|
| 355 |
|
---|
| 356 | auth include system-auth
|
---|
| 357 | account include system-account
|
---|
| 358 | password include system-password
|
---|
| 359 | session include system-session
|
---|
| 360 |
|
---|
| 361 | # End /etc/pam.d/polkit-1</literal>
|
---|
| 362 | EOF</userinput></screen>
|
---|
| 363 |
|
---|
| 364 | </sect3>
|
---|
| 365 |
|
---|
| 366 | </sect2>
|
---|
| 367 |
|
---|
[9d3d8a8] | 368 | <sect2 role="content">
|
---|
| 369 | <title>Contents</title>
|
---|
| 370 |
|
---|
| 371 | <segmentedlist>
|
---|
| 372 | <segtitle>Installed Programs</segtitle>
|
---|
| 373 | <segtitle>Installed Libraries</segtitle>
|
---|
| 374 | <segtitle>Installed Directories</segtitle>
|
---|
| 375 |
|
---|
| 376 | <seglistitem>
|
---|
[b84342d6] | 377 | <seg>
|
---|
[59f6a1f] | 378 | pkaction, pkcheck, <!--pk-example-frobnicate,--> pkexec,
|
---|
[a428935] | 379 | pkttyagent, and polkitd
|
---|
[b84342d6] | 380 | </seg>
|
---|
| 381 | <seg>
|
---|
[0d7900a] | 382 | libpolkit-agent-1.so and
|
---|
[b84342d6] | 383 | libpolkit-gobject-1.so
|
---|
| 384 | </seg>
|
---|
[028759b] | 385 | <seg>
|
---|
[01996ebb] | 386 | /etc/polkit-1,
|
---|
| 387 | /usr/include/polkit-1,
|
---|
| 388 | /usr/lib/polkit-1,
|
---|
[a428935] | 389 | /usr/share/gtk-doc/html/polkit-1, and
|
---|
[028759b] | 390 | /usr/share/polkit-1
|
---|
[b84342d6] | 391 | </seg>
|
---|
[9d3d8a8] | 392 | </seglistitem>
|
---|
| 393 | </segmentedlist>
|
---|
| 394 |
|
---|
| 395 | <variablelist>
|
---|
| 396 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 397 | <?dbfo list-presentation="list"?>
|
---|
| 398 | <?dbhtml list-presentation="table"?>
|
---|
| 399 |
|
---|
| 400 | <varlistentry id="pkaction">
|
---|
| 401 | <term><command>pkaction</command></term>
|
---|
| 402 | <listitem>
|
---|
[b84342d6] | 403 | <para>
|
---|
[4c24eb0a] | 404 | is used to obtain information about registered PolicyKit actions
|
---|
[b84342d6] | 405 | </para>
|
---|
[9d3d8a8] | 406 | <indexterm zone="polkit pkaction">
|
---|
| 407 | <primary sortas="b-pkaction">pkaction</primary>
|
---|
| 408 | </indexterm>
|
---|
| 409 | </listitem>
|
---|
| 410 | </varlistentry>
|
---|
| 411 |
|
---|
| 412 | <varlistentry id="pkcheck">
|
---|
| 413 | <term><command>pkcheck</command></term>
|
---|
| 414 | <listitem>
|
---|
[b84342d6] | 415 | <para>
|
---|
[4c24eb0a] | 416 | is used to check whether a process is authorized for action
|
---|
[b84342d6] | 417 | </para>
|
---|
[9d3d8a8] | 418 | <indexterm zone="polkit pkcheck">
|
---|
| 419 | <primary sortas="b-pkcheck">pkcheck</primary>
|
---|
| 420 | </indexterm>
|
---|
| 421 | </listitem>
|
---|
| 422 | </varlistentry>
|
---|
| 423 |
|
---|
[59f6a1f] | 424 | <!--
|
---|
[72d90b67] | 425 | <varlistentry id="pk-example-frobnicate">
|
---|
| 426 | <term><command>pk-example-frobnicate</command></term>
|
---|
| 427 | <listitem>
|
---|
| 428 | <para>
|
---|
| 429 | is an example program to test the <command>pkexec</command>
|
---|
[4c24eb0a] | 430 | command
|
---|
[72d90b67] | 431 | </para>
|
---|
| 432 | <indexterm zone="polkit pk-example-frobnicate">
|
---|
| 433 | <primary sortas="b-pk-example-frobnicate">pk-example-frobnicate</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
[59f6a1f] | 437 | -->
|
---|
[7a9a7b26] | 438 |
|
---|
[9d3d8a8] | 439 | <varlistentry id="pkexec">
|
---|
| 440 | <term><command>pkexec</command></term>
|
---|
| 441 | <listitem>
|
---|
[b84342d6] | 442 | <para>
|
---|
[4c24eb0a] | 443 | allows an authorized user to execute a command as another user
|
---|
[b84342d6] | 444 | </para>
|
---|
[9d3d8a8] | 445 | <indexterm zone="polkit pkexec">
|
---|
| 446 | <primary sortas="b-pkexec">pkexec</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
| 450 |
|
---|
[b84342d6] | 451 | <varlistentry id="pkttyagent">
|
---|
| 452 | <term><command>pkttyagent</command></term>
|
---|
[9d3d8a8] | 453 | <listitem>
|
---|
[b84342d6] | 454 | <para>
|
---|
[4c24eb0a] | 455 | is used to start a textual authentication agent for the subject
|
---|
[b84342d6] | 456 | </para>
|
---|
| 457 | <indexterm zone="polkit pkttyagent">
|
---|
| 458 | <primary sortas="b-pkttyagent">pkttyagent</primary>
|
---|
[9d3d8a8] | 459 | </indexterm>
|
---|
| 460 | </listitem>
|
---|
[b84342d6] | 461 | </varlistentry>
|
---|
[9d3d8a8] | 462 |
|
---|
[875b4070] | 463 | <varlistentry id="polkitd">
|
---|
[9d3d8a8] | 464 | <term><command>polkitd</command></term>
|
---|
| 465 | <listitem>
|
---|
[b84342d6] | 466 | <para>
|
---|
[0d7900a] | 467 | provides the org.freedesktop.PolicyKit1 <application>D-Bus</application>
|
---|
[4c24eb0a] | 468 | service on the system message bus
|
---|
[b84342d6] | 469 | </para>
|
---|
[875b4070] | 470 | <indexterm zone="polkit polkitd">
|
---|
[9d3d8a8] | 471 | <primary sortas="b-polkitd">polkitd</primary>
|
---|
| 472 | </indexterm>
|
---|
| 473 | </listitem>
|
---|
| 474 | </varlistentry>
|
---|
| 475 |
|
---|
| 476 | <varlistentry id="libpolkit-agent-1">
|
---|
[4c24eb0a] | 477 | <term><filename class="libraryfile">libpolkit-agent-1.so</filename></term>
|
---|
[9d3d8a8] | 478 | <listitem>
|
---|
[b84342d6] | 479 | <para>
|
---|
[01996ebb] | 480 | contains the <application>Polkit</application> authentication
|
---|
[4c24eb0a] | 481 | agent API functions
|
---|
[b84342d6] | 482 | </para>
|
---|
[9d3d8a8] | 483 | <indexterm zone="polkit libpolkit-agent-1">
|
---|
[b84342d6] | 484 | <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1.so</primary>
|
---|
[9d3d8a8] | 485 | </indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
| 489 | <varlistentry id="libpolkit-gobject-1">
|
---|
[4c24eb0a] | 490 | <term><filename class="libraryfile">libpolkit-gobject-1.so</filename></term>
|
---|
[9d3d8a8] | 491 | <listitem>
|
---|
[b84342d6] | 492 | <para>
|
---|
[4c24eb0a] | 493 | contains the <application>Polkit</application> authorization API functions
|
---|
[b84342d6] | 494 | </para>
|
---|
[9d3d8a8] | 495 | <indexterm zone="polkit libpolkit-gobject-1">
|
---|
[b84342d6] | 496 | <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1.so</primary>
|
---|
[9d3d8a8] | 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
| 500 |
|
---|
| 501 | </variablelist>
|
---|
| 502 |
|
---|
| 503 | </sect2>
|
---|
| 504 |
|
---|
| 505 | </sect1>
|
---|