The ConsoleKit package is a framework for keeping track of the various users, sessions, and seats present on a system. It provides a mechanism for software to react to changes of any of these items or of any of the metadata associated with them.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.5.tar.bz2
Download MD5 sum: f2657f93761206922d558471a936fbc3
Download size: 416 KB
Estimated disk space required: 8.1 MB
Estimated build time: 0.3 SBU
D-Bus GLib Bindings-0.98 and Xorg Libraries
Linux-PAM-1.1.5 and polkit-0.105
If you intend NOT to install polkit, you will need to manually edit the ConsoleKit.conf file to lock down the service. Failure to do so may be a huge SECURITY HOLE.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/consolekit
Install ConsoleKit by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/ConsoleKit \
--enable-pam-module &&
make
This package does not come with a test suite.
Now, as the root user:
make install
--enable-pam-module: This
switch enables ConsoleKit to use
Linux-PAM authentication. Remove
this option if Linux-PAM is
NOT installed.
--enable-docbook-docs: Use this
parameter if xmlto is installed
and you wish to build the API documentation.
If you use PAM you need to
configure PAM to activate
ConsoleKit upon user login. This
can be achieved by editing the /etc/pam.d/system-session file as the
root user:
cat >> /etc/pam.d/system-session << "EOF" # Begin ConsoleKit addition session optional pam_loginuid.so session optional pam_ck_connector.so nox11 # End ConsoleKit addition EOF
See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html for more configuration.
Last updated on 2012-05-01 12:35:38 +0000