[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 |
|
---|
[f47c6a6b] | 7 | <!ENTITY polkit-download-http "https://www.freedesktop.org/software/polkit/releases/polkit-&polkit-version;.tar.gz">
|
---|
| 8 | <!ENTITY polkit-download-ftp " ">
|
---|
[59f6a1f] | 9 | <!ENTITY polkit-md5sum "a6efe21d021fafe4191ee30331ef801c">
|
---|
| 10 | <!ENTITY polkit-size "1.6 MB">
|
---|
| 11 | <!ENTITY polkit-buildsize "12 MB">
|
---|
| 12 | <!ENTITY polkit-time "0.1 SBU (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 |
|
---|
[20a35ab] | 37 | &lfs110a_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 |
|
---|
[7e280b45] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
[ad539dbe] | 75 | <listitem>
|
---|
[4a0b346] | 76 | <para>
|
---|
[7e280b45] | 77 | Required patch:
|
---|
| 78 | <ulink url="&patch-root;/polkit-&polkit-version;-security_fix-1.patch"/>
|
---|
[4a0b346] | 79 | </para>
|
---|
| 80 | </listitem>
|
---|
[3b40dbb3] | 81 | </itemizedlist>
|
---|
[ad539dbe] | 82 |
|
---|
[01996ebb] | 83 | <bridgehead renderas="sect3">Polkit Dependencies</bridgehead>
|
---|
[9d3d8a8] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[bb947c32] | 86 | <para role="required">
|
---|
[6d03f3e] | 87 | <xref linkend="glib2"/> and
|
---|
[2a21b602] | 88 | <xref linkend="js78"/>
|
---|
[4c2be438] | 89 | </para>
|
---|
| 90 |
|
---|
[51dfb3e] | 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 92 | <para role="recommended">
|
---|
[59f6a1f] | 93 | <xref linkend="gobject-introspection"/>,
|
---|
| 94 | <xref linkend="libxslt"/>,
|
---|
[6288de8] | 95 | <xref linkend="linux-pam"/>
|
---|
[7cb46359] | 96 | <phrase revision="sysv">
|
---|
[8558044] | 97 | and <xref role="first" linkend="elogind"/>
|
---|
[7cb46359] | 98 | </phrase>
|
---|
[f586237] | 99 | </para>
|
---|
| 100 |
|
---|
[51dfb3e] | 101 | <note>
|
---|
[f586237] | 102 | <para>
|
---|
[51dfb3e] | 103 | Since <phrase revision="sysv"><command>elogind</command></phrase>
|
---|
| 104 | <phrase revision="systemd"><command>systemd-logind</command></phrase>
|
---|
| 105 | uses PAM to register user sessions, it is a good idea to build
|
---|
| 106 | <application>Polkit</application> with PAM support so
|
---|
| 107 | <phrase revision="sysv"><command>elogind</command></phrase>
|
---|
| 108 | <phrase revision="systemd"><command>systemd-logind</command></phrase>
|
---|
| 109 | can track <application>Polkit</application> sessions.
|
---|
[f586237] | 110 | </para>
|
---|
| 111 | </note>
|
---|
| 112 |
|
---|
| 113 |
|
---|
[59f6a1f] | 114 | <!-- Due to the fact that meson will not autodetect g-i and
|
---|
| 115 | has it set to required unless you pass an option, and the likelihood
|
---|
| 116 | of users ignoring a command explanation and then sending in mails
|
---|
| 117 | regarding KDE or GNOME not working after installing polkit, let's move
|
---|
| 118 | it to recommended. See #15640 for logic
|
---|
[4c2be438] | 119 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 120 | <para role="optional">
|
---|
| 121 | <xref linkend="gobject-introspection"/>
|
---|
| 122 | </para>
|
---|
[59f6a1f] | 123 | -->
|
---|
[9d3d8a8] | 124 |
|
---|
| 125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[bb947c32] | 126 | <para role="optional">
|
---|
[8558044] | 127 | <xref linkend="dbus-python"/> and
|
---|
[59f6a1f] | 128 | <xref linkend="python-dbusmock"/> (for tests), and
|
---|
| 129 | <!--<xref linkend="DocBook"/>, (Part of libxslt's chain)
|
---|
| 130 | <xref linkend="docbook-xsl"/>,-->
|
---|
| 131 | <xref linkend="gtk-doc"/>
|
---|
[f586237] | 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <bridgehead renderas="sect4" revision="systemd">Required Runtime Dependencies</bridgehead>
|
---|
| 135 | <para role="required" revision="systemd">
|
---|
[96e9478] | 136 | <xref role="runtime" linkend="systemd"/>
|
---|
[4c2be438] | 137 | </para>
|
---|
[875b4070] | 138 |
|
---|
[f13e9026] | 139 | <bridgehead renderas="sect4" id="polkit-agent" xreflabel="Polkit Authentication Agent">
|
---|
| 140 | Optional Runtime Dependencies
|
---|
| 141 | </bridgehead>
|
---|
[fee64868] | 142 | <para role="optional">
|
---|
| 143 | One polkit authentication agent for using polkit in the graphical
|
---|
| 144 | environment:
|
---|
| 145 | <application>polkit-kde-agent</application> in
|
---|
| 146 | <xref role="runtime" linkend="plasma5-build"/> for KDE,
|
---|
| 147 | the agent built in
|
---|
| 148 | <xref role="runtime" linkend="gnome-shell"/> for GNOME3,
|
---|
| 149 | <xref role="runtime" linkend="polkit-gnome"/> for XFCE, and
|
---|
| 150 | <application>lxpolkit</application> in
|
---|
| 151 | <xref role="runtime" linkend="lxsession"/> for LXDE.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[875b4070] | 154 | <note>
|
---|
[b84342d6] | 155 | <para>
|
---|
[f586237] | 156 | If <xref linkend="libxslt"/> is installed,
|
---|
| 157 | then <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/> are
|
---|
| 158 | required. If you have installed <xref linkend="libxslt"/>, but you do
|
---|
| 159 | not want to install any of the DocBook packages mentioned, you will
|
---|
[59f6a1f] | 160 | need to use <option>-Dman=false</option> in the instructions
|
---|
[f586237] | 161 | below.
|
---|
[b84342d6] | 162 | </para>
|
---|
[875b4070] | 163 | </note>
|
---|
[9d3d8a8] | 164 |
|
---|
| 165 | <para condition="html" role="usernotes">User Notes:
|
---|
[37aba7f] | 166 | <ulink url="&blfs-wiki;/polkit"/>
|
---|
| 167 | </para>
|
---|
[9d3d8a8] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="installation">
|
---|
[01996ebb] | 171 | <title>Installation of Polkit</title>
|
---|
[9d3d8a8] | 172 |
|
---|
[b84342d6] | 173 | <para>
|
---|
[01996ebb] | 174 | There should be a dedicated user and group to take control
|
---|
| 175 | of the <command>polkitd</command> daemon after it is
|
---|
| 176 | started. Issue the following commands as the
|
---|
| 177 | <systemitem class="username">root</systemitem> user:
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <screen role="root"><userinput>groupadd -fg 27 polkitd &&
|
---|
| 181 | useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
|
---|
| 182 | -g polkitd -s /bin/false polkitd</userinput></screen>
|
---|
| 183 |
|
---|
[59f6a1f] | 184 | <!-- All of this is irrelevant with meson
|
---|
[f586237] | 185 | <note revision="systemd">
|
---|
| 186 | <para>
|
---|
| 187 | When building <application>Polkit</application> with
|
---|
| 188 | <application>systemd</application> logind support, the
|
---|
| 189 | <command>configure</command> script explicitly checks if
|
---|
| 190 | system is booted using <application>systemd</application>.
|
---|
| 191 | This can cause problems if building the package in chroot,
|
---|
| 192 | where the <command>configure</command> would fail to
|
---|
| 193 | detect <application>systemd</application>. To workaround
|
---|
| 194 | the problem, simply run the following command:
|
---|
| 195 | </para>
|
---|
| 196 |
|
---|
| 197 | <screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen>
|
---|
| 198 | </note>
|
---|
[3b40dbb3] | 199 |
|
---|
[ad539dbe] | 200 | <para revision="sysv">
|
---|
| 201 | Fix an issue introduced in recent <application>Polkit</application>
|
---|
| 202 | releases with elogind:
|
---|
| 203 | </para>
|
---|
| 204 |
|
---|
| 205 | <screen revision="sysv"><userinput>patch -Np1 -i ../polkit-&polkit-version;-fix_elogind_detection-1.patch &&
|
---|
[c432bc2] | 206 | autoreconf -fv</userinput></screen>
|
---|
[59f6a1f] | 207 | -->
|
---|
[ad539dbe] | 208 |
|
---|
[59f6a1f] | 209 | <para>
|
---|
| 210 | First, fix problems with setting permissions during installation and with
|
---|
| 211 | meson-0.60.0:
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <screen><userinput remap="pre">sed '/0,/s/^/#/' -i meson_post_install.py &&
|
---|
| 215 | sed '/policy,/d' -i actions/meson.build \
|
---|
| 216 | -i src/examples/meson.build</userinput></screen>
|
---|
[7e280b45] | 217 |
|
---|
| 218 | <para>
|
---|
| 219 | Apply a patch to fix a security issue:
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <screen><userinput remap="pre">patch -Np1 -i ../polkit-&polkit-version;-security_fix-1.patch</userinput></screen>
|
---|
| 223 |
|
---|
[01996ebb] | 224 | <para>
|
---|
| 225 | Install <application>Polkit</application> by running the following
|
---|
[37aba7f] | 226 | commands:
|
---|
[b84342d6] | 227 | </para>
|
---|
[9d3d8a8] | 228 |
|
---|
[59f6a1f] | 229 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 230 | cd build &&
|
---|
| 231 |
|
---|
| 232 | meson --prefix=/usr \
|
---|
| 233 | -Dman=true \
|
---|
| 234 | -Dsession_tracking=libsystemd-login \
|
---|
| 235 | --buildtype=release \
|
---|
| 236 | .. &&
|
---|
| 237 | ninja</userinput></screen>
|
---|
[51dfb3e] | 238 |
|
---|
[59f6a1f] | 239 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 240 | cd build &&
|
---|
| 241 |
|
---|
| 242 | meson --prefix=/usr \
|
---|
| 243 | -Dman=true \
|
---|
| 244 | -Dsession_tracking=libelogind \
|
---|
| 245 | -Dsystemdsystemunitdir=/tmp \
|
---|
| 246 | --buildtype=release \
|
---|
| 247 | .. &&
|
---|
| 248 | ninja</userinput></screen>
|
---|
| 249 |
|
---|
| 250 | <!--
|
---|
[b84342d6] | 251 | <para>
|
---|
[8558044] | 252 | To test the results, first ensure that the system
|
---|
[d9f1e46] | 253 | <application>D-Bus</application> daemon is running.
|
---|
[ad539dbe] | 254 | Then run <command>make check</command>.
|
---|
[b84342d6] | 255 | </para>
|
---|
[59f6a1f] | 256 | -->
|
---|
| 257 |
|
---|
| 258 | <!-- The subprojects directory which contains a wrapper for 'mocklibc'
|
---|
| 259 | is not shipped in the tarball like it should be. Whenever that is
|
---|
| 260 | fixed, -Dtests=true and ninja test is the ticket. -->
|
---|
| 261 |
|
---|
| 262 | <para>
|
---|
| 263 | This package does not ship with a working test suite.
|
---|
| 264 | </para>
|
---|
[9d3d8a8] | 265 |
|
---|
[b84342d6] | 266 | <para>
|
---|
| 267 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 268 | </para>
|
---|
[9d3d8a8] | 269 |
|
---|
[59f6a1f] | 270 | <screen role="root" revision="systemd"><userinput>ninja install</userinput></screen>
|
---|
| 271 |
|
---|
| 272 | <screen role="root" revision="sysv"><userinput>ninja install &&
|
---|
| 273 | rm -v /tmp/*.service</userinput></screen>
|
---|
[9d3d8a8] | 274 |
|
---|
| 275 | </sect2>
|
---|
| 276 |
|
---|
| 277 | <sect2 role="commands">
|
---|
| 278 | <title>Command Explanations</title>
|
---|
| 279 |
|
---|
[7e280b45] | 280 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 281 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 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 |
|
---|
[59f6a1f] | 290 |
|
---|
[ad539dbe] | 291 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 292 | href="../../xincludes/static-libraries.xml"/>
|
---|
[59f6a1f] | 293 | -->
|
---|
| 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,
|
---|
[f342c0a9] | 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,
|
---|
| 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 | -->
|
---|
| 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>
|
---|