Earl: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Add instructions for editing the users.csv file)
(formatting)
Line 2: Line 2:


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).
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:
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.
# 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.
# 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]).
# 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.
# Change third column from "user" to the desired access level.
 


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

Revision as of 03:10, 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.