10
0
Fork 0
mirror of https://github.com/ChaosChemnitz/chch-door synced 2024-12-21 08:02:23 +01:00
No description
Find a file
2013-04-07 07:16:04 +02:00
door.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 2013-04-07 06:02:52 +01:00
door_init.sh initial commit 2012-10-15 00:27:37 +01:00
door_lock.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 2013-04-07 06:02:52 +01:00
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 2013-04-07 06:02:52 +01:00
door_verify.sh added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 2013-04-07 06:02:52 +01:00
etc_udev_rules.d_92-yubikey.rules readded etc_udev_rules.d_92-yubikey.rules 2013-04-07 07:16:04 +02:00
README added support for a door indicator switch on pin 21 (closed->1; open->0) to detect manual openening of the door 2013-04-07 06:02:52 +01:00

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