Admiral Ackbar's Code Emporium

Setup Ubuntu to require Yubikey Challenge-Response during authentication

This will configure Ubuntu to check for the presence of the correct Yubikey using the Challenge-Response protocol during the authentication of any user in the yubikey group. The use of the Challenge-Response protocol allows authentication without Internet access but it is not usable for ssh access because it requires direct hardware access to the Yubikey. Based on this wiki article and this forum thread.

Requirements

Issues

Setup

Automatically lock the screen when the Yubikey is unplugged

This guide will configure your PC to lock automatically whenever your Yubikey is unplugged.

Requirements

Issues

Setup

Using the following steps you can disable the global menu. There are some issues with this approach so read the issues list before continuing. This guide is based on this web upd8 article and this blog post.

Issues

Disable the global menu

Re-enable the global menu

Configure lightdm (the display manager) to use a custom static background for the login page instead of the default setting of using each users wallpaper as the background for their login page. This does not affect the lock screen. This should work for Ubuntu 12.04 and up. Based on this askubuntu answer for the background and this askubuntu answer for the dot grid.

Setup a custom login background

Revert the changes