Compare commits
5 Commits
94baf722f6
...
3f5e8f995d
Author | SHA1 | Date |
---|---|---|
|
3f5e8f995d | 3 years ago |
|
55878ca661 | 3 years ago |
|
bf392cc0bf | 3 years ago |
|
e3fc5bebe0 | 3 years ago |
|
5a0f2bead4 | 3 years ago |
@ -1,5 +1,5 @@ |
||||
{ |
||||
"host": "localhost", |
||||
"port": 80, |
||||
"port": 1337, |
||||
"PLUGIN_PATH": "./towers" |
||||
} |
@ -1,10 +1,45 @@ |
||||
| |
||||
-+- |
||||
| |
||||
| |
||||
/^\ |
||||
/ \ |
||||
/ \ |
||||
_/ \_ |
||||
// \\ |
||||
/- -\ |
||||
/ \ |
||||
/| [cathedral] |\ |
||||
/ | | \ |
||||
| | | | |
||||
| | | | |
||||
| | __ | | |
||||
| | | | | | |
||||
| | | .| | | |
||||
|_|______|__|_____|_| |
||||
|
||||
the core of a plugin-based usergroup system. |
||||
establishes a central auth for users, and loads plugins to carry out various functions based on events. |
||||
|
||||
the technically correct mode of installation is downloading `tools/init.py`, /not/ cloning the repo yourself |
||||
requires aiohttp ~= 3.7.4, acl, git, useradd |
||||
|
||||
the technically correct mode of installation is running `tools/init.py` as root, /not/ cloning the repo yourself |
||||
a good install should go something like the following: |
||||
ensure you meet the requirements above -> |
||||
read `tools/init.py` & run it as root -> |
||||
navigate to the newly-created `/var/cathedral` directory and edit `config.json` to match your host -> |
||||
add or edit the files in `tools/skel/` to reflect you/your system (these get copied to new user's home directories) -> |
||||
generate a .json list of initial user e-mails (see `tools/test_mail_list.json for an example`) -> |
||||
read `tools/add_users.py` & run it as root -> |
||||
save the generated user:pass json from STDout, use it to give users their temp passwords -> |
||||
start the service using systemd: `systemctl start cathedral` -> |
||||
point a reverse proxy at your server, passing in HTTP traffic (optional, recommended) -> |
||||
ensure SSH traffic reaches the box one way or another |
||||
added users should at this point be able to remote into the box using standard ssh procedures. |
||||
|
||||
requires aiohttp ~= 3.7.4, acl, git |
||||
|
||||
events: |
||||
USER_CREATE |
||||
READY |
||||
included plugins: |
||||
* users.py |
||||
- displays all users registered on the system @ users.host/* |
||||
* fiefdom.py |
||||
- userpage system, serves the user's ~/.web directory @ host/~user |
@ -1,5 +1,11 @@ |
||||
[ |
||||
"kmakise@lab.org", |
||||
"aphacker@knights.of.the.lambda.calculus.org", |
||||
"aymous@national.shitposters.club", |
||||
"tsparkle@canterlot.edu" |
||||
"tsparkle@canterlot.edu", |
||||
"mdancer@canterlot.edu", |
||||
"fanon@got.is", |
||||
"asoliloquy@berkeley.edu", |
||||
"vdarkbloom@darkbloom.org", |
||||
"rcarte@darkbloom.org" |
||||
] |
Loading…
Reference in new issue