<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-guide.

</pre>
<p><a href="https://github.com/macports/macports-guide/commit/b71c9e3ba026db6b348abbd2ca8fd22f8294ed83">https://github.com/macports/macports-guide/commit/b71c9e3ba026db6b348abbd2ca8fd22f8294ed83</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new b71c9e3  Add instructions for removing users
</span>b71c9e3 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b71c9e3ba026db6b348abbd2ca8fd22f8294ed83
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Nov 19 17:07:22 2019 +1100

<span style='display:block; white-space:pre;color:#404040;'>    Add instructions for removing users
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/33697
</span>---
 guide/xml/installing.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/installing.xml b/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index 76738d1..9473825 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -399,6 +399,18 @@
</span>         <para>If you use a shell other than bash (perhaps tcsh), you may need to adjust the above to fit your shell's
             syntax. Also note that depending on which version of MacPorts you have and which ports you have installed,
             not all of the above paths will exist on your system. This is OK.</para>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        <para>MacPorts also creates at least one user for privilege separation. Leaving it in existence will almost
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        always do no harm, but if you really need to remove it, you can use these commands from an account with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        admin privileges:</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        <programlisting><prompt>$</prompt> <userinput>dscl -p . -delete /Users/macports</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<prompt>$</prompt> <userinput>dscl -p . -delete /Groups/macports</userinput></programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        <para>If you configured MacPorts to use a different username, then of course you should specify it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        instead of <filename>macports</filename>. Individual ports may create users as well; you can remove them
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        with the same commands, but replacing <filename>macports</filename> with the username you wish to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        delete.</para>
</span>     </section>
 
     <section xml:id="installing.shell">
</pre><pre style='margin:0'>

</pre>