From 9d8d75a449c615b2d73301714aa90b8737a955d3 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 May 2024 13:53:21 -0300 Subject: [PATCH] Fix root prompts --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 53c5f84..3f419aa 100644 --- a/README.md +++ b/README.md @@ -15,29 +15,29 @@ the first time: # Add the '_portzap' user, group and home directory # This command requires root privileges - # setup-portzap + root@localhost# setup-portzap #### CLI: portzap # Clone the HardenedBSD ports tree into /home/_portzap/ports/ # This command is delegated to the '_portzap' user - $ portzap clone + user@localhost$ portzap clone # Pull updates into /home/_portzap/ports/ # This command is delegated to the '_portzap' user - $ portzap pull + user@localhost$ portzap pull # Checkout a branch other than the default: hardenedbsd/main # 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/ # This command requires root privileges - # portzap install + root@localhost# portzap install # Remove the contents of /usr/ports/ and /home/_portzap/ports/ # This command requires root privileges - $ portzap rm + root@localhost# portzap rm #### Environment @@ -62,11 +62,11 @@ portzap is available The most recent version of portzap can be installed directly via git: - $ git clone https://github.com/0x1eef/portzap.git - $ cd portzap - # make install - # setup-portzap - # pw groupmod -n _portzap -m + user@localhost$ git clone https://github.com/0x1eef/portzap.git + user@localhost$ cd portzap + root@localhost# doas -u root make install + root@localhost# setup-portzap + root@localhost# pw groupmod -n _portzap -m ## Requirements