diff options
Diffstat (limited to 'EndoForge')
-rw-r--r-- | EndoForge/README.md | 26 |
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 | ||
5 | Convert any Git repository into a `Self-Forge` with a simple setting change. | 5 | Convert any Git repository into a `Self-Forge` with a simple setting change. |
6 | 6 | ||
7 | Synopsis: | 7 | Install `EndoForge`: |
8 | |||
9 | ``` | 8 | ``` |
10 | git config core.self-forge true | 9 | make install |
11 | ``` | 10 | ``` |
12 | 11 | ||
13 | Install `EndoForge`: | 12 | Enable 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. | |||
135 | HOW TO DISABLE | 133 | HOW TO DISABLE |
136 | -------------- | 134 | -------------- |
137 | 135 | ||
138 | To disable public access to the repository, run: | 136 | To 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 | ||
144 | To uninstall: [run `make -n uninstall` to get this doc section] | 141 | To 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 | ||
146 | To 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 | ||
154 | NON-ROOT INSTALLATION | 152 | NON-ROOT INSTALLATION |
155 | --------------------- | 153 | --------------------- |