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 polkit-download-http "http://hal.freedesktop.org/releases/polkit-&polkit-version;.tar.gz">
|
---|
8 | <!ENTITY polkit-download-ftp " ">
|
---|
9 | <!ENTITY polkit-md5sum "5abc9f858e7b614ef41161db36d53915">
|
---|
10 | <!ENTITY polkit-size "986 KB">
|
---|
11 | <!ENTITY polkit-buildsize "17 MB">
|
---|
12 | <!ENTITY polkit-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="polkit" xreflabel="polkit-&polkit-version;">
|
---|
16 | <?dbhtml filename="polkit.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>polkit-&polkit-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="polkit">
|
---|
26 | <primary sortas="a-polkit">polkit</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to polkit</title>
|
---|
31 |
|
---|
32 | <para>The <application>polkit</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="&polkit-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&polkit-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &polkit-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &polkit-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &polkit-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &polkit-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">polkit Dependencies</bridgehead>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
63 | <para role="required"><xref linkend="eggdbus"/>,
|
---|
64 | <xref linkend="intltool"/>,
|
---|
65 | <xref linkend="linux-pam"/>,
|
---|
66 | <xref linkend="gobject-introspection"/>, and
|
---|
67 | <xref linkend="DocBook"/></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
71 |
|
---|
72 | <para condition="html" role="usernotes">User Notes:
|
---|
73 | <ulink url="&blfs-wiki;/polkit"/></para>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <sect2 role="installation">
|
---|
78 | <title>Installation of polkit</title>
|
---|
79 |
|
---|
80 | <para>It is a requirement to have a dedicated user and group for
|
---|
81 | <application>polkit</application> to function correctly. Issue the
|
---|
82 | following commands as the <systemitem class="username">root</systemitem>
|
---|
83 | user:</para>
|
---|
84 |
|
---|
85 | <screen role="root"><userinput>groupadd -fg 27 polkituser &&
|
---|
86 | useradd -c "Policy Kit Daemon User" -d /dev/null -u 27 \
|
---|
87 | -g polkituser -s /bin/false polkituser || [ $? == 9 ]</userinput></screen>
|
---|
88 |
|
---|
89 | <para>Install <application>polkit</application> by running the following
|
---|
90 | commands as an unprivileged user:</para>
|
---|
91 |
|
---|
92 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
93 | --libexecdir=/usr/lib/polkit-1 --localstatedir=/var &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>This package does not come with a test suite.</para>
|
---|
97 |
|
---|
98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="commands">
|
---|
105 | <title>Command Explanations</title>
|
---|
106 |
|
---|
107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
108 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="content">
|
---|
113 | <title>Contents</title>
|
---|
114 |
|
---|
115 | <segmentedlist>
|
---|
116 | <segtitle>Installed Programs</segtitle>
|
---|
117 | <segtitle>Installed Libraries</segtitle>
|
---|
118 | <segtitle>Installed Directories</segtitle>
|
---|
119 |
|
---|
120 | <seglistitem>
|
---|
121 | <seg>pkaction, pkcheck, pk-example-frobnicate, pkexec,
|
---|
122 | polkit-agent-helper-1, and polkitd</seg>
|
---|
123 | <seg>libpolkit-agent-1.{so,a}, libpolkit-backend-1.{so,a},
|
---|
124 | libpolkit-gobject-1.{so,a}, libnullbackend.{so,a}, and
|
---|
125 | libpkexec-action-lookup.{so,a}</seg>
|
---|
126 | <seg>/etc/polkit-1/{localauthority.conf.d,nullbackend.conf.d},
|
---|
127 | /usr/{include/polkit-1/{polkit,polkitagent,polkitbackend},
|
---|
128 | lib/polkit-1/extensions,share/polkit-1/actions},
|
---|
129 | /var/lib/polkit-1/localauthority/{10-vendor.d,20-org.d,30-site.d,
|
---|
130 | 50-local.d,90-mandatory.d}</seg>
|
---|
131 | </seglistitem>
|
---|
132 | </segmentedlist>
|
---|
133 |
|
---|
134 | <variablelist>
|
---|
135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
136 | <?dbfo list-presentation="list"?>
|
---|
137 | <?dbhtml list-presentation="table"?>
|
---|
138 |
|
---|
139 | <varlistentry id="pkaction">
|
---|
140 | <term><command>pkaction</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>is used to obtain information about registered PolicyKit actions.</para>
|
---|
143 | <indexterm zone="polkit pkaction">
|
---|
144 | <primary sortas="b-pkaction">pkaction</primary>
|
---|
145 | </indexterm>
|
---|
146 | </listitem>
|
---|
147 | </varlistentry>
|
---|
148 |
|
---|
149 | <varlistentry id="pkcheck">
|
---|
150 | <term><command>pkcheck</command></term>
|
---|
151 | <listitem>
|
---|
152 | <para>is used to check whether a process is authorized for action.</para>
|
---|
153 | <indexterm zone="polkit pkcheck">
|
---|
154 | <primary sortas="b-pkcheck">pkcheck</primary>
|
---|
155 | </indexterm>
|
---|
156 | </listitem>
|
---|
157 | </varlistentry>
|
---|
158 |
|
---|
159 | <!-- <varlistentry id="pk-example-frobnicate">
|
---|
160 | <term><command>pk-example-frobnicate</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>does this .....</para>
|
---|
163 | <indexterm zone="polkit pk-example-frobnicate">
|
---|
164 | <primary sortas="b-pk-example-frobnicate">pk-example-frobnicate</primary>
|
---|
165 | </indexterm>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>-->
|
---|
168 |
|
---|
169 | <varlistentry id="pkexec">
|
---|
170 | <term><command>pkexec</command></term>
|
---|
171 | <listitem>
|
---|
172 | <para>allows an authorized user to execute a command as another user.</para>
|
---|
173 | <indexterm zone="polkit pkexec">
|
---|
174 | <primary sortas="b-pkexec">pkexec</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <!-- <varlistentry id="polkit-agent-helper-1">
|
---|
180 | <term><command>polkit-agent-helper-1</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>does this .....</para>
|
---|
183 | <indexterm zone="polkit polkit-agent-helper-1">
|
---|
184 | <primary sortas="b-polkit-agent-helper-1">polkit-agent-helper-1</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>-->
|
---|
188 |
|
---|
189 | <varlistentry id="polkitd-0.94">
|
---|
190 | <term><command>polkitd</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>provides the org.freedesktop.PolicyKit1
|
---|
193 | <application>D-Bus</application> service on the system message bus.</para>
|
---|
194 | <indexterm zone="polkit polkitd-0.94">
|
---|
195 | <primary sortas="b-polkitd">polkitd</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="libpolkit-agent-1">
|
---|
201 | <term><filename class='libraryfile'>libpolkit-agent-1.{so,a}</filename></term>
|
---|
202 | <listitem>
|
---|
203 | <para>contains the <application>polkit</application> authentication
|
---|
204 | agent API functions.</para>
|
---|
205 | <indexterm zone="polkit libpolkit-agent-1">
|
---|
206 | <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1.{so,a}</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="libpolkit-backend-1">
|
---|
212 | <term><filename class='libraryfile'>libpolkit-backend-1.{so,a}</filename></term>
|
---|
213 | <listitem>
|
---|
214 | <para>contains the <application>polkit</application> backend API
|
---|
215 | functions.</para>
|
---|
216 | <indexterm zone="polkit libpolkit-backend-1">
|
---|
217 | <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1.{so,a}</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="libpolkit-gobject-1">
|
---|
223 | <term><filename class='libraryfile'>libpolkit-gobject-1.{so,a}</filename></term>
|
---|
224 | <listitem>
|
---|
225 | <para>contains the <application>polkit</application> authorization API
|
---|
226 | functions.</para>
|
---|
227 | <indexterm zone="polkit libpolkit-gobject-1">
|
---|
228 | <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1.{so,a}</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="libnullbackend">
|
---|
234 | <term><filename class='libraryfile'>libnullbackend.{so,a}</filename></term>
|
---|
235 | <listitem>
|
---|
236 | <para>is an extension library.</para>
|
---|
237 | <indexterm zone="polkit libnullbackend">
|
---|
238 | <primary sortas="c-libnullbackend">libnullbackend.{so,a}</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | <varlistentry id="libpkexec-action-lookup">
|
---|
244 | <term><filename class='libraryfile'>libpkexec-action-lookup.{so,a}</filename></term>
|
---|
245 | <listitem>
|
---|
246 | <para>is an extension library.</para>
|
---|
247 | <indexterm zone="polkit libpkexec-action-lookup">
|
---|
248 | <primary sortas="c-libpkexec-action-lookup">libpkexec-action-lookup.{so,a}</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | </variablelist>
|
---|
254 |
|
---|
255 | </sect2>
|
---|
256 |
|
---|
257 | </sect1>
|
---|