ConsoleKit-0.4.5

Introduction to ConsoleKit

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.

Package Information

ConsoleKit Dependencies

Required

D-Bus GLib Bindings-0.98 and Xorg Libraries

Recommended

[Warning]

Warning

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.

Optional

xmlto-0.0.25

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/consolekit

Installation of 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

Command Explanations

--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.

Configuring ConsoleKit

Config Files

/etc/dbus-1/system.d/ConsoleKit.conf

Configuration Information

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.

Contents

Installed Programs: ck-history, ck-launch-session, ck-list-sessions, ck-log-system-restart, ck-log-system-start, ck-log-system-stop, console-kit-daemon, ck-collect-session-info, ck-get-x11-display-device, ck-get-x11-server-pid, ck-system-restart, and ck-system-stop
Installed Libraries: libck-connector.so and pam_ck_connector.so
Installed Directories: /etc/ConsoleKit/{run-seat.d,run-session.d,seats.d}, /usr/{include/ConsoleKit/ck-connector,lib/ConsoleKit/{run-seat.d, run-session.d,scripts},share/doc/ConsoleKit/spec}

Last updated on 2012-05-01 12:35:38 +0000