Skip to content

Commit

Permalink
Add documentation on why we have chosen the solution we have.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed May 26, 2024
1 parent db04cef commit d5fc051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userpatches/overlay/auto_disable_ssh/auto-disable-ssh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

# If SSH is enabled and password has not been changed, disable SSH access
# We use a monotonic timer that can work even without a valid clock.

reset_timer(){
echo 0 > /etc/ssh-active-without-pw-change
Expand Down

0 comments on commit d5fc051

Please sign in to comment.