summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-26 10:11:36 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-26 10:11:36 -0400
commit275e2f2d8309651cd292f30490d274ed47f0dad0 (patch)
tree795a5079b784dae83775cd4d52330aac3a89c167
parentc8605ba779271022680c89586d0932e5ed39507d (diff)
readme
-rw-r--r--EndoForge/README.md26
1 files changed, 12 insertions, 14 deletions
diff --git a/EndoForge/README.md b/EndoForge/README.md
index 00567c9..27fa5ff 100644
--- a/EndoForge/README.md
+++ b/EndoForge/README.md
@@ -4,16 +4,14 @@ EndoForge
4 4
5Convert any Git repository into a `Self-Forge` with a simple setting change. 5Convert any Git repository into a `Self-Forge` with a simple setting change.
6 6
7Synopsis: 7Install `EndoForge`:
8
9``` 8```
10 git config core.self-forge true 9 make install
11``` 10```
12 11
13Install `EndoForge`: 12Enable access to repository:
14
15``` 13```
16 make install 14 git config core.self-forge true
17``` 15```
18 16
19## WHAT IS A `Self-Forge` 17## WHAT IS A `Self-Forge`
@@ -135,21 +133,21 @@ You can also run `make shared` but that just runs the same `git config` for you.
135HOW TO DISABLE 133HOW TO DISABLE
136-------------- 134--------------
137 135
138To disable public access to the repository, run: 136To disable anonymous access to a repository:
139
140``` 137```
141 git config core.self-forge false 138 git config core.self-forge false
142``` 139```
143 140
144To uninstall: [run `make -n uninstall` to get this doc section] 141To disable anonymous access to a user account:
145
146``` 142```
147 sudo rm -f /etc/ssh/sshd_config.d/anonymous-access.conf \ 143 rm -f "$HOME"/.ssh/AnonymousAccessCommand
148 /usr/lib/ssh/AuthorizedKeysCommand \
149 /etc/ssh/AuthorizedKeysCommand
150 systemctl restart sshd
151``` 144```
152 145
146To disable `OpenSSH` Anonymous Access system-wide:
147```
148 sudo rm -f /etc/ssh/sshd_config.d/anonymous-access.conf
149 sudo systemctl reload sshd
150```
153 151
154NON-ROOT INSTALLATION 152NON-ROOT INSTALLATION
155--------------------- 153---------------------