From 275e2f2d8309651cd292f30490d274ed47f0dad0 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 26 Oct 2021 10:11:36 -0400 Subject: readme --- EndoForge/README.md | 26 ++++++++++++-------------- 1 file 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 Convert any Git repository into a `Self-Forge` with a simple setting change. -Synopsis: - +Install `EndoForge`: ``` - git config core.self-forge true + make install ``` -Install `EndoForge`: - +Enable access to repository: ``` - make install + git config core.self-forge true ``` ## 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. HOW TO DISABLE -------------- -To disable public access to the repository, run: - +To disable anonymous access to a repository: ``` git config core.self-forge false ``` -To uninstall: [run `make -n uninstall` to get this doc section] - +To disable anonymous access to a user account: ``` - sudo rm -f /etc/ssh/sshd_config.d/anonymous-access.conf \ - /usr/lib/ssh/AuthorizedKeysCommand \ - /etc/ssh/AuthorizedKeysCommand - systemctl restart sshd + rm -f "$HOME"/.ssh/AnonymousAccessCommand ``` +To disable `OpenSSH` Anonymous Access system-wide: +``` + sudo rm -f /etc/ssh/sshd_config.d/anonymous-access.conf + sudo systemctl reload sshd +``` NON-ROOT INSTALLATION --------------------- -- cgit v1.2.3