Kbdlock is designed to work with Linux kernel only. No configuration suite is provided, its Makefile should work on any GNU/Linux system.

The following steps are needed to install the package:

  1. (optional) Edit Makefile.

    Follow the instructions in its User-configurable variables section.

    Basically, the only two variables you might want to change are INSTALLDIR and GROUP. INSTALLDIR specifies the directory where to install kbdlock binary. GROUP sets the name of a group whose members are allowed to use kbdlock.

  2. Run make install
  3. Edit /etc/group.

    After the installation a group named kbdlock will be created. Populate this group with login names of the users who will be permitted to use the program.