about summary refs log tree commit diff stats
path: root/core/ports.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-02-10 03:41:08 +0000
committerSilvino Silva <silvino@bk.ru>2019-02-10 03:41:08 +0000
commit46f62e487a43918d264c6a210165d2d0c32b0951 (patch)
tree74d7c1cb5427c64ebd3484fd3ce0ce1789ddaca9 /core/ports.html
parenta7ac22037934a428b30f28bf476212174d48bd36 (diff)
downloaddoc-46f62e487a43918d264c6a210165d2d0c32b0951.tar.gz
core ports pkgmk user and group fix
Diffstat (limited to 'core/ports.html')
-rw-r--r--core/ports.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/ports.html b/core/ports.html
index 32e5095..c377d79 100644
--- a/core/ports.html
+++ b/core/ports.html
@@ -29,14 +29,15 @@
 	Add a user that will be used by ports tools, this example pkgmk;</p>
 
         <pre>
-        # useradd -U -M -d /usr/ports -s /bin/false pkgmk
+        # group -r -g pkgmk pkgmk
+        # useradd -r -u pkgmk -g pkgmk -m -d /usr/ports -s /bin/false pkgmk
         </pre>
 
         <p>You can add your self to group pkgmk. Check if members of this
         group are under <a href="linux.html#sysctl">tpe</a> protection.</p>
 
         <pre>
-        # usermod -a -G pkgmk c9admin
+        # usermod -a -G pkgmk username
         </pre>
 
         <pre>
@@ -137,7 +138,7 @@
         prtdir /usr/ports/core
         prtdir /usr/ports/opt
         prtdir /usr/ports/contrib
-        prtdir /usr/ports/c9-ports
+        prtdir /usr/ports/ports
         prtdir /usr/ports/xorg
 
         # 6c37 team provides a collection with freetype-iu, fontconfig-iu