source: postlfs/security/consolekit.xml@ 4c2be438

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4c2be438 was 4c2be438, checked in by Krejzi <krejzi@…>, 12 years ago

fix Gnome dependencies - switch itstool with yelp-xsl (YELP_HELP_INIT requires yelp-xsl stylesheets),recommend gobject-introspection for every package in gnome/{core,add} and make Optional g-i section indicating that is required for gnome in packages that are not just required by gnome. Made some recommended (expected) deps to gstreamer plugins (codecs, input and output sinks), recommended alsa to the libcanberra, explicitly disabled oss to remove configure warning + added gnome dependencies into seperate optional section to libcanberra page. Added --disable-scrollkeeper explanation to many packages that can use rarian (for the scrollkeeper compat) and added some more rarian recommendations. Checked polkit, accountservice and consolekit deps, sorted them a bit. Finished Gnome 3.4

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

  • Property mode set to 100644
File size: 11.5 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 consolekit-download-http "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-&consolekit-version;.tar.bz2">
8 <!ENTITY consolekit-download-ftp " ">
9 <!ENTITY consolekit-md5sum "f2657f93761206922d558471a936fbc3">
10 <!ENTITY consolekit-size "416 KB">
11 <!ENTITY consolekit-buildsize "8.1 MB">
12 <!ENTITY consolekit-time "0.3 SBU">
13]>
14
15<sect1 id="consolekit" xreflabel="ConsoleKit-&consolekit-version;">
16 <?dbhtml filename="consolekit.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>ConsoleKit-&consolekit-version;</title>
24
25 <indexterm zone="consolekit">
26 <primary sortas="a-ConsoleKit">ConsoleKit</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to ConsoleKit</title>
31
32 <para>The <application>ConsoleKit</application> package is a framework for
33 keeping track of the various users, sessions, and seats present on a system.
34 It provides a mechanism for software to react to changes of any of these
35 items or of any of the metadata associated with them.</para>
36
37 &lfs70_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&consolekit-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&consolekit-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &consolekit-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &consolekit-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &consolekit-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &consolekit-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">ConsoleKit Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">
65 <xref linkend="dbus-glib"/> and
66 <xref linkend="xorg7-lib"/>
67 </para>
68
69 <bridgehead renderas="sect4">Recommended</bridgehead>
70 <para role="recommended">
71 <xref linkend="linux-pam"/> and
72 <xref linkend="polkit"/>
73 </para>
74
75 <warning>
76 <para>If you intend <emphasis role="strong">NOT</emphasis> to install
77 <application>polkit</application>, you will need to manually edit the
78 ConsoleKit.conf file to lock down the service. Failure to do so may be a
79 huge SECURITY HOLE.</para>
80 </warning>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="xmlto"/>
85 </para>
86
87 <para condition="html" role="usernotes">User Notes:
88 <ulink url="&blfs-wiki;/consolekit"/></para>
89
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of ConsoleKit</title>
94
95 <para>Install <application>ConsoleKit</application> by running the following
96 commands:</para>
97
98<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
99 --localstatedir=/var --libexecdir=/usr/lib/ConsoleKit \
100 --enable-pam-module &amp;&amp;
101make</userinput></screen>
102
103 <para>This package does not come with a test suite.</para>
104
105 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><parameter>--enable-pam-module</parameter>: This switch enables
115 <application>ConsoleKit</application> to use
116 <application>Linux-PAM</application> authentication. Remove this option if
117 <application>Linux-PAM</application> is
118 <emphasis role="strong">NOT</emphasis> installed.</para>
119
120 <para><option>--enable-docbook-docs</option>: Use this parameter if
121 <application>xmlto</application> is installed and you wish to build the API
122 documentation.</para>
123
124 </sect2>
125
126 <sect2 role="configuration">
127 <title>Configuring ConsoleKit</title>
128
129 <sect3 id="ConsoleKit-config">
130 <title>Config Files</title>
131 <para><filename>/etc/dbus-1/system.d/ConsoleKit.conf</filename></para>
132
133 <indexterm zone="consolekit ConsoleKit-config">
134 <primary sortas="e-etc-ConsoleKit-ConsoleKit.conf">/etc/dbus-1/system.d/ConsoleKit.conf</primary>
135 </indexterm>
136 </sect3>
137
138 <sect3><title>Configuration Information</title>
139
140 <para>If you use <application>PAM</application> you need to configure
141 <application>PAM</application> to activate <application>ConsoleKit
142 </application> upon user login. This can be achieved by editing the
143 <filename>/etc/pam.d/system-session</filename> file as the
144 <systemitem class="username">root</systemitem> user:</para>
145
146<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/system-session &lt;&lt; "EOF"
147# Begin ConsoleKit addition
148
149session optional pam_loginuid.so
150session optional pam_ck_connector.so nox11
151
152# End ConsoleKit addition
153EOF</userinput></screen>
154
155 <para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html for more
156 configuration.</para>
157
158 </sect3>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>ck-history, ck-launch-session, ck-list-sessions,
172 ck-log-system-restart, ck-log-system-start, ck-log-system-stop,
173 console-kit-daemon, ck-collect-session-info, ck-get-x11-display-device,
174 ck-get-x11-server-pid, ck-system-restart, and ck-system-stop</seg>
175 <seg>libck-connector.so and pam_ck_connector.so</seg>
176 <seg>/etc/ConsoleKit/{run-seat.d,run-session.d,seats.d},
177 /usr/{include/ConsoleKit/ck-connector,lib/ConsoleKit/{run-seat.d,
178 run-session.d,scripts},share/doc/ConsoleKit/spec}</seg>
179 </seglistitem>
180 </segmentedlist>
181
182<!--
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="ck-history">
189 <term><command>ck-history</command></term>
190 <listitem>
191 <para>does this .....</para>
192 <indexterm zone="consolekit ck-history">
193 <primary sortas="b-ck-history">ck-history</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="ck-launch-session">
199 <term><command>ck-launch-session</command></term>
200 <listitem>
201 <para>does this .....</para>
202 <indexterm zone="consolekit ck-launch-session">
203 <primary sortas="b-ck-launch-session">ck-launch-session</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="ck-list-sessions">
209 <term><command>ck-list-sessions</command></term>
210 <listitem>
211 <para>does this .....</para>
212 <indexterm zone="consolekit ck-list-sessions">
213 <primary sortas="b-ck-list-sessions">ck-list-sessions</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="ck-log-system-restart">
219 <term><command>ck-log-system-restart</command></term>
220 <listitem>
221 <para>does this .....</para>
222 <indexterm zone="consolekit ck-log-system-restart">
223 <primary sortas="b-ck-log-system-restart">ck-log-system-restart</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="ck-log-system-start">
229 <term><command>ck-log-system-start</command></term>
230 <listitem>
231 <para>does this .....</para>
232 <indexterm zone="consolekit ck-log-system-start">
233 <primary sortas="b-ck-log-system-start">ck-log-system-start</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="ck-log-system-stop">
239 <term><command>ck-log-system-stop</command></term>
240 <listitem>
241 <para>does this .....</para>
242 <indexterm zone="consolekit ck-log-system-stop">
243 <primary sortas="b-ck-log-system-stop">ck-log-system-stop</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="console-kit-daemon">
249 <term><command>console-kit-daemon</command></term>
250 <listitem>
251 <para>is the <application>ConsoleKit</application> daemon.</para>
252 <indexterm zone="consolekit console-kit-daemon">
253 <primary sortas="b-console-kit-daemon">console-kit-daemon</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="ck-collect-session-info">
259 <term><command>ck-collect-session-info</command></term>
260 <listitem>
261 <para>does this .....</para>
262 <indexterm zone="consolekit ck-collect-session-info">
263 <primary sortas="b-ck-collect-session-info">ck-collect-session-info</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="ck-get-x11-display-device">
269 <term><command>ck-get-x11-display-device</command></term>
270 <listitem>
271 <para>does this .....</para>
272 <indexterm zone="consolekit ck-get-x11-display-device">
273 <primary sortas="b-ck-get-x11-display-device">ck-get-x11-display-device</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="ck-get-x11-server-pid">
279 <term><command>ck-get-x11-server-pid</command></term>
280 <listitem>
281 <para>does this .....</para>
282 <indexterm zone="consolekit ck-get-x11-server-pid">
283 <primary sortas="b-ck-get-x11-server-pid">ck-get-x11-server-pid</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="ck-system-restart">
289 <term><command>ck-system-restart</command></term>
290 <listitem>
291 <para>does this .....</para>
292 <indexterm zone="consolekit ck-system-restart">
293 <primary sortas="b-ck-system-restart">ck-system-restart</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="ck-system-stop">
299 <term><command>ck-system-stop</command></term>
300 <listitem>
301 <para>does this .....</para>
302 <indexterm zone="consolekit ck-system-stop">
303 <primary sortas="b-ck-system-stop">ck-system-stop</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="libck-connector">
309 <term><filename class='libraryfile'>libck-connector.so</filename></term>
310 <listitem>
311 <para>contains functions that .....</para>
312 <indexterm zone="consolekit libck-connector">
313 <primary sortas="c-libck-connector">libck-connector.so</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pam_ck_connector">
319 <term><filename class='libraryfile'>pam_ck_connector.so</filename></term>
320 <listitem>
321 <para>contains functions that .....</para>
322 <indexterm zone="consolekit pam_ck_connector">
323 <primary sortas="c-pam_ck_connector">pam_ck_connector.so</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 </variablelist>
329-->
330
331 </sect2>
332
333</sect1>
Note: See TracBrowser for help on using the repository browser.