Intranet: Difference between revisions

From HeatSync Labs Wiki
Jump to navigation Jump to search
en>Will
No edit summary
No edit summary
Line 13: Line 13:
To add someone to the users database:
To add someone to the users database:


* Run /home/access/ruby sha.rb "USERPASSWORD"
* Run ruby /home/access/sha.rb "USERPASSWORD" >> hash.txt && clear
** Replace USERPASSWORD with the user's desired password.
** Have the user replace USERPASSWORD with the user's desired password and press enter.
** Copy the output
** Copy the output from hash.txt
* vim /home/access/users.json
* vim /home/access/users.json
** Highlight the first user's line and type yyp to duplicate.
** Highlight the first user's line and type yyp to duplicate.
** Change the username and password hash to match the desired username and the hash you copied earlier. (Press i to enter edit mode, esc to exit.)
** Change the username and password hash to match the desired username and the hash you copied earlier. (Press i to enter edit mode, esc to exit.)
** Save and Exit vim by pressing esc :x (or :q! to quit without saving.)
** Save and Exit vim by pressing esc :x (or :q! to quit without saving.)

Revision as of 08:43, 4 July 2011

Locally-hosted website for access control, webcams, toolshare, and other resources.

Accessible at http://172.22.110.15

Future:

  • Media player
  • Lab wishlist
  • Clock with "last call for food," "open/close" and "midnight" bells
  • Who's working on what (like a public todo list to help focus and direct)


Intranet access

To add someone to the users database:

  • Run ruby /home/access/sha.rb "USERPASSWORD" >> hash.txt && clear
    • Have the user replace USERPASSWORD with the user's desired password and press enter.
    • Copy the output from hash.txt
  • vim /home/access/users.json
    • Highlight the first user's line and type yyp to duplicate.
    • Change the username and password hash to match the desired username and the hash you copied earlier. (Press i to enter edit mode, esc to exit.)
    • Save and Exit vim by pressing esc :x (or :q! to quit without saving.)