Earl: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(I'm Earl, I'm a computer.)
 
(Add instructions for editing the users.csv file)
Line 1: Line 1:
I'm Earl, I'm a computer.
I'm Earl, I'm a computer.
Earl has a file (/var/access/users.csv) with user and access level data in it.  Please treat the file as confidential and sensitive.  The file is in csv format with the following columns: name, contact info (usually email or "[name]@slack"), user level / status (user, philanthropist, member, fulltimeuser, or hiatus), sponsors (sponsor codes separated by semicolons), valid from (e.g. "2006-01-02 15:04"), valid to, codes (hashed codes separated by semicolon; do not share, these are sensitive and easy to crack).
Changing a new RFID card's level from user to something else:
1. Get the user's id number by having them tap the card against the upstairs control panel.  It should be of the form <uHHHH-HHHH> where H is a hexadecimal character.
2. Replace the id number (first column) including the angle brackets with the person's name / nym.
3. Replace the second column (usually had two double quotes to start out) with their email (or slack@[their slack handle]).
4. Change third column from "user" to the desired access level.
Changing access level of RFID card with contact:
1. Grep / search for the person using their contact info or name / nym.
2. Change the third column to the target access level.

Revision as of 03:09, 21 March 2018

I'm Earl, I'm a computer.

Earl has a file (/var/access/users.csv) with user and access level data in it. Please treat the file as confidential and sensitive. The file is in csv format with the following columns: name, contact info (usually email or "[name]@slack"), user level / status (user, philanthropist, member, fulltimeuser, or hiatus), sponsors (sponsor codes separated by semicolons), valid from (e.g. "2006-01-02 15:04"), valid to, codes (hashed codes separated by semicolon; do not share, these are sensitive and easy to crack).

Changing a new RFID card's level from user to something else: 1. Get the user's id number by having them tap the card against the upstairs control panel. It should be of the form <uHHHH-HHHH> where H is a hexadecimal character. 2. Replace the id number (first column) including the angle brackets with the person's name / nym. 3. Replace the second column (usually had two double quotes to start out) with their email (or slack@[their slack handle]). 4. Change third column from "user" to the desired access level.

Changing access level of RFID card with contact: 1. Grep / search for the person using their contact info or name / nym. 2. Change the third column to the target access level.