You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Florz ccdb04bdd1 readded etc_udev_rules.d_92-yubikey.rules 10 years ago
README added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 10 years ago
door.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 10 years ago
door_init.sh initial commit 10 years ago
door_lock.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 10 years ago
door_ssh_login.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 10 years ago
door_verify.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 10 years ago
etc_udev_rules.d_92-yubikey.rules readded etc_udev_rules.d_92-yubikey.rules 10 years ago

README

Yubikey login:
^^^^^^^^^^^^^^

-please create /etc/udev/rules.d/92-yubikey.rules with the following content:
ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010", RUN+="/etc/door/door.sh"



SSH login:
^^^^^^^^^^

-in ~/.ssh/authorized_keys add to the first line:
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty

-in /etc/passwd change the the default shell to door_ssh_login.sh