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