source: postlfs/security/policykit.xml@ 875b4070

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 875b4070 was 875b4070, checked in by Wayne Blaszczyk <wblaszcz@…>, 13 years ago

Updated to polkit-0.102.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9032 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.1 KB
Line 
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
7 <!ENTITY policykit-download-http "http://hal.freedesktop.org/releases/PolicyKit-&policykit-version;.tar.gz">
8 <!ENTITY policykit-download-ftp " ">
9 <!ENTITY policykit-md5sum "802fd13ae41f73d79359e5ecb0a98716">
10 <!ENTITY policykit-size "1.2 MB">
11 <!ENTITY policykit-buildsize "14 MB">
12 <!ENTITY policykit-time "0.4 SBU">
13]>
14
15<sect1 id="policykit" xreflabel="PolicyKit-&policykit-version;">
16 <?dbhtml filename="policykit.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>PolicyKit-&policykit-version;</title>
24
25 <indexterm zone="policykit">
26 <primary sortas="a-PolicyKit">PolicyKit</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PolicyKit</title>
31
32 <para>The <application>PolicyKit</application> package is an
33 application-level toolkit for defining and handling the policy that allows
34 unprivileged processes to speak to privileged processes.</para>
35
36 &lfs65_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&policykit-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&policykit-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &policykit-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &policykit-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &policykit-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &policykit-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">PolicyKit Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="dbus-glib"/>,
64 <xref linkend="linux-pam"/>,
65 <xref linkend="intltool"/>, and
66 <xref linkend="docbook-xsl"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional"><xref linkend="gtk-doc"/></para>
70
71 <para condition="html" role="usernotes">User Notes:
72 <ulink url="&blfs-wiki;/policykit"/></para>
73
74 </sect2>
75
76 <sect2 role="installation">
77 <title>Installation of PolicyKit</title>
78
79 <para>It is a requirement to have a dedicated user and group for
80 <application>PolicyKit</application> to function correctly. Issue the
81 following commands as the <systemitem class="username">root</systemitem>
82 user:</para>
83
84<screen role="root"><userinput>groupadd -fg 27 polkituser &amp;&amp;
85useradd -c "Policy Kit Daemon User" -d /dev/null -u 27 \
86 -g polkituser -s /bin/false polkituser || [ $? == 9 ]</userinput></screen>
87
88 <para>Install <application>PolicyKit</application> by running the following
89 commands as an unprivileged user:</para>
90
91<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
92 --libexecdir=/usr/lib/PolicyKit --localstatedir=/var &amp;&amp;
93make</userinput></screen>
94
95 <para>This package does not come with a test suite.</para>
96
97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>make install &amp;&amp;
100install -v -d -m755 /usr/share/doc/PolicyKit-&policykit-version; &amp;&amp;
101cp -v -r doc/html /usr/share/doc/PolicyKit-&policykit-version;</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
109 href="../../xincludes/gtk-doc-rebuild.xml"/>
110
111 </sect2>
112
113 <sect2 role="configuration">
114 <title>Configuring PolicyKit</title>
115
116 <sect3 id="PolicyKit-config">
117 <title>Config Files</title>
118 <para><filename>/etc/PolicyKit/PolicyKit.conf</filename></para>
119
120 <indexterm zone="policykit PolicyKit-config">
121 <primary sortas="e-etc-PolicyKit-PolicyKit.conf">/etc/PolicyKit/PolicyKit.conf</primary>
122 </indexterm>
123 </sect3>
124
125 <sect3><title>Configuration Information</title>
126
127 <para>See manual page PolicyKit.conf(5).</para>
128
129 </sect3>
130
131 </sect2>
132
133 <sect2 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>polkit-auth, polkit-policy-file-validate,
143 polkit-config-file-validate, polkit-action, polkit-read-auth-helper,
144 polkit-grant-helper-pam, polkit-grant-helper, polkit-revoke-helper,
145 polkitd, polkit-explicit-grant-helper, polkit-set-default-helper,
146 and polkit-resolve-exe-helper</seg>
147 <seg>libpolkit.{so,a}, libpolkit-dbus.{so,a}, and libpolkit-grant.{so,a}</seg>
148 <seg>/etc/PolicyKit, /usr/lib/PolicyKit, /usr/include/PolicyKit/polkit,
149 /usr/include/PolicyKit/polkit-dbus, /usr/include/PolicyKit/polkit-grant,
150 /usr/share/PolicyKit/policy, /var/lib/misc, /var/lib/PolicyKit,
151 /var/lib/PolicyKit-public, and /usr/share/doc/PolicyKit-&policykit-version;</seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="polkit-auth">
161 <term><command>polkit-auth</command></term>
162 <listitem>
163 <para>is used to inspect, obtain, grant and revoke
164 <application>PolicyKit</application> authorizations.</para>
165 <indexterm zone="policykit polkit-auth">
166 <primary sortas="b-polkit-auth">polkit-auth</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="polkit-policy-file-validate">
172 <term><command>polkit-policy-file-validate</command></term>
173 <listitem>
174 <para>is used to verify that one or more
175 <application>PolicyKit</application> .policy files are valid.</para>
176 <indexterm zone="policykit polkit-policy-file-validate">
177 <primary sortas="b-polkit-policy-file-validate">polkit-policy-file-validate</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="polkit-config-file-validate">
183 <term><command>polkit-config-file-validate</command></term>
184 <listitem>
185 <para>is used to verify that a given <application>PolicyKit</application>
186 configuration file is valid.</para>
187 <indexterm zone="policykit polkit-config-file-validate">
188 <primary sortas="b-polkit-config-file-validate">polkit-config-file-validate</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="polkit-action">
194 <term><command>polkit-action</command></term>
195 <listitem>
196 <para>is used to list and modify the <application>PolicyKit</application>
197 actions that are registered on the system.</para>
198 <indexterm zone="policykit polkit-action">
199 <primary sortas="b-polkit-action">polkit-action</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="polkit-read-auth-helper">
205 <term><command>polkit-read-auth-helper</command></term>
206 <listitem>
207 <para>is the setgid polkituser helper for
208 <application>PolicyKit</application> to read authorizations.</para>
209 <indexterm zone="policykit polkit-read-auth-helper">
210 <primary sortas="b-polkit-read-auth-helper">polkit-read-auth-helper</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="polkit-grant-helper-pam">
216 <term><command>polkit-grant-helper-pam</command></term>
217 <listitem>
218 <para>is the setuid root pam grant helper for <application>PolicyKit</application>.</para>
219 <indexterm zone="policykit polkit-grant-helper-pam">
220 <primary sortas="b-polkit-grant-helper-pam">polkit-grant-helper-pam</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="polkit-grant-helper">
226 <term><command>polkit-grant-helper</command></term>
227 <listitem>
228 <para>is the setgid polkituser grant helper for <application>PolicyKit</application>.</para>
229 <indexterm zone="policykit polkit-grant-helper">
230 <primary sortas="b-polkit-grant-helper">polkit-grant-helper</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="polkit-revoke-helper">
236 <term><command>polkit-revoke-helper</command></term>
237 <listitem>
238 <para>is used to revoke authorizations.</para>
239 <indexterm zone="policykit polkit-revoke-helper">
240 <primary sortas="b-polkit-revoke-helper">polkit-revoke-helper</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="polkitd-0.9">
246 <term><command>polkitd</command></term>
247 <listitem>
248 <para>is the <application>PolicyKit</application> daemon.</para>
249 <indexterm zone="policykit polkitd-0.9">
250 <primary sortas="b-polkitd">polkitd</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="polkit-explicit-grant-helper">
256 <term><command>polkit-explicit-grant-helper</command></term>
257 <listitem>
258 <para>is used to grant authorizations.</para>
259 <indexterm zone="policykit polkit-explicit-grant-helper">
260 <primary sortas="b-polkit-explicit-grant-helper">polkit-explicit-grant-helper</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="polkit-set-default-helper">
266 <term><command>polkit-set-default-helper</command></term>
267 <listitem>
268 <para>is the setgid polkituser helper for <application>PolicyKit</application>.</para>
269 <indexterm zone="policykit polkit-set-default-helper">
270 <primary sortas="b-polkit-set-default-helper">polkit-set-default-helper</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="polkit-resolve-exe-helper">
276 <term><command>polkit-resolve-exe-helper</command></term>
277 <listitem>
278 <para>is used to find the executable name for a process.</para>
279 <indexterm zone="policykit polkit-resolve-exe-helper">
280 <primary sortas="b-polkit-resolve-exe-helper">polkit-resolve-exe-helper</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="libpolkit">
286 <term><filename class='libraryfile'>libpolkit.{so,a}</filename></term>
287 <listitem>
288 <para>contains the <application>PolicyKit</application> API functions.</para>
289 <indexterm zone="policykit libpolkit">
290 <primary sortas="c-libpolkit">libpolkit.{so,a}</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="libpolkit-dbus">
296 <term><filename class='libraryfile'>libpolkit-dbus.{so,a}</filename></term>
297 <listitem>
298 <para>contains functions for obtaining seat, session and caller
299 information via <application>D-Bus</application> and
300 <application>ConsoleKit</application>.</para>
301 <indexterm zone="policykit libpolkit-dbus">
302 <primary sortas="c-libpolkit-dbus">libpolkit-dbus.{so,a}</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="libpolkit-grant">
308 <term><filename class='libraryfile'>libpolkit-grant.{so,a}</filename></term>
309 <listitem>
310 <para>contains functions for obtaining authorizations through authentication.</para>
311 <indexterm zone="policykit libpolkit-grant">
312 <primary sortas="c-libpolkit-grant">libpolkit-grant.{so,a}</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 </variablelist>
318
319 </sect2>
320
321</sect1>
Note: See TracBrowser for help on using the repository browser.