Fix root prompts
This commit is contained in:
parent
1a9981f8e6
commit
9d8d75a449
1 changed files with 11 additions and 11 deletions
22
README.md
22
README.md
|
@ -15,29 +15,29 @@ the first time:
|
||||||
|
|
||||||
# Add the '_portzap' user, group and home directory
|
# Add the '_portzap' user, group and home directory
|
||||||
# This command requires root privileges
|
# This command requires root privileges
|
||||||
# setup-portzap
|
root@localhost# setup-portzap
|
||||||
|
|
||||||
#### CLI: portzap
|
#### CLI: portzap
|
||||||
|
|
||||||
# Clone the HardenedBSD ports tree into /home/_portzap/ports/
|
# Clone the HardenedBSD ports tree into /home/_portzap/ports/
|
||||||
# This command is delegated to the '_portzap' user
|
# This command is delegated to the '_portzap' user
|
||||||
$ portzap clone
|
user@localhost$ portzap clone
|
||||||
|
|
||||||
# Pull updates into /home/_portzap/ports/
|
# Pull updates into /home/_portzap/ports/
|
||||||
# This command is delegated to the '_portzap' user
|
# This command is delegated to the '_portzap' user
|
||||||
$ portzap pull
|
user@localhost$ portzap pull
|
||||||
|
|
||||||
# Checkout a branch other than the default: hardenedbsd/main
|
# Checkout a branch other than the default: hardenedbsd/main
|
||||||
# This command is delegated to the '_portzap' user
|
# This command is delegated to the '_portzap' user
|
||||||
$ portzap checkout freebsd/main
|
user@localhost$ portzap checkout freebsd/main
|
||||||
|
|
||||||
# Install /home/_portzap/ports/ into /usr/ports/
|
# Install /home/_portzap/ports/ into /usr/ports/
|
||||||
# This command requires root privileges
|
# This command requires root privileges
|
||||||
# portzap install
|
root@localhost# portzap install
|
||||||
|
|
||||||
# Remove the contents of /usr/ports/ and /home/_portzap/ports/
|
# Remove the contents of /usr/ports/ and /home/_portzap/ports/
|
||||||
# This command requires root privileges
|
# This command requires root privileges
|
||||||
$ portzap rm
|
root@localhost# portzap rm
|
||||||
|
|
||||||
#### Environment
|
#### Environment
|
||||||
|
|
||||||
|
@ -62,11 +62,11 @@ portzap is available
|
||||||
The most recent version of portzap can be installed directly
|
The most recent version of portzap can be installed directly
|
||||||
via git:
|
via git:
|
||||||
|
|
||||||
$ git clone https://github.com/0x1eef/portzap.git
|
user@localhost$ git clone https://github.com/0x1eef/portzap.git
|
||||||
$ cd portzap
|
user@localhost$ cd portzap
|
||||||
# make install
|
root@localhost# doas -u root make install
|
||||||
# setup-portzap
|
root@localhost# setup-portzap
|
||||||
# pw groupmod -n _portzap -m <user>
|
root@localhost# pw groupmod -n _portzap -m <user>
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue