From 9e5f98f73e539d9e91753811607327774ccddd29 Mon Sep 17 00:00:00 2001
From: 0x1eef <0x1eef@protonmail.com>
Date: Sat, 16 Nov 2024 01:14:37 -0300
Subject: [PATCH] docs: update
---
README.md | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 2f23c24..01dca54 100644
--- a/README.md
+++ b/README.md
@@ -8,23 +8,12 @@ can be installed into `/usr/ports/` by root.
## CLI
-### CLI: setup
+### Commands
-`portzap setup` should be run after installing portzap for
-the first time:
+#### Group
- # Add the '_portzap' user, group and home directory
- # This command requires root privileges
- root@localhost# portzap setup
-
- # Reverse the changes made by 'portzap setup'
- # This command requires root privileges
- root@localhost# portzap teardown
-
-### CLI: group
-
-The following commands are delegated to the `_portzap` user and
-restricted to members of the `_portzap` group:
+The following commands are restricted to members of the `_portzap` group,
+and delegated to the `_portzap` user via doas(1):
* **portzap clone**
Clone the HardenedBSD ports tree into `/home/_portzap/ports/`
@@ -38,7 +27,7 @@ Checkout a branch other than the default: `hardenedbsd/main`
* **portzap sh**
Run `/bin/sh` within `/home/_portzap/ports/`
-### CLI: superuser
+#### Root
The following commands are restricted to root: