The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
← [[Chaosdoor]] | ← [[Chaosdoor]] | ||
== | == Administration == | ||
* ibuttond startet [https://github.com/chaosdorf/ibuttonreader/blob/master/ibutton.c ibutton] und piped die Ausgaben nach [https://github.com/chaosdorf/ibuttonreader/blob/master/door door] | |||
* | * Alle 5 Minuten wird per Cronjob überprüft, ob ibutton und door laufen, andernfalls werden sie neugestartet (Ergebnis davon ist im Icinga sichtbar) | ||
* | * Das authorized_ibuttons Verzeichnis wird per git getrackt | ||
=== iButton anlegen === | |||
* | |||
* iButton an der Tür einlesen | |||
* cat /tmp/last_failed_ibutton, mit aufgedruckter ID vergleichen | |||
* echo $nickname > /root/authorized_ibuttons/$id | |||
* committen | |||
=== iButton revoken === | |||
Bei Verlust, Austritt oder sonstwas | |||
* fgrep $nickname /root/authorized_ibuttons/* | |||
* mv /root/authorized_ibuttons/$id{,.revoked} | |||
* Revoke-Grund in die Datei schreiben | |||
* committen | |||
== Debugging == | == Debugging == |