This commit is contained in:
parent
df18ee25e5
commit
9e5f98f73e
1 changed files with 5 additions and 16 deletions
21
README.md
21
README.md
|
@ -8,23 +8,12 @@ can be installed into `/usr/ports/` by root.
|
||||||
|
|
||||||
## CLI
|
## CLI
|
||||||
|
|
||||||
### CLI: setup
|
### Commands
|
||||||
|
|
||||||
`portzap setup` should be run after installing portzap for
|
#### Group
|
||||||
the first time:
|
|
||||||
|
|
||||||
# Add the '_portzap' user, group and home directory
|
The following commands are restricted to members of the `_portzap` group,
|
||||||
# This command requires root privileges
|
and delegated to the `_portzap` user via doas(1):
|
||||||
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:
|
|
||||||
|
|
||||||
* **portzap clone** <br>
|
* **portzap clone** <br>
|
||||||
Clone the HardenedBSD ports tree into `/home/_portzap/ports/` <br>
|
Clone the HardenedBSD ports tree into `/home/_portzap/ports/` <br>
|
||||||
|
@ -38,7 +27,7 @@ Checkout a branch other than the default: `hardenedbsd/main` <br>
|
||||||
* **portzap sh** <br>
|
* **portzap sh** <br>
|
||||||
Run `/bin/sh` within `/home/_portzap/ports/` <br>
|
Run `/bin/sh` within `/home/_portzap/ports/` <br>
|
||||||
|
|
||||||
### CLI: superuser
|
#### Root
|
||||||
|
|
||||||
The following commands are restricted to root:
|
The following commands are restricted to root:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue