How to add a key to the door system - hackeriet/hackeriet.no GitHub Wiki
- ssh [email protected] (password in hackerpass)
- sudo su
- journalctl -ef
Now scan the new card, the system will not recognize it, and will enter the id hash of the unknown card in the log.
- copy the id of the card
- (this part needs a user with staff access) log into https://hackeriet.no/hula/admin/auth/user/
- select correct user from the list
- enter the id in the
RFID access card number. (new):
field (and maybe theRFID access card secret code (old):
one too, just to be sure)
App not working? Workaround; Rawdogging the database
- $ ssh blade
- $ sudo -iu postgres
- $ psql -d hackerhula
- $ hackerhula=# SELECT card_number FROM member_member where handle = 'xorgic';
- hackerhula=# UPDATE member_member SET card_number = '0x279b6eac016e9b' WHERE handle = 'xorgic';
Doord updates list of cards every 15 min