<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">The password thing worked. Already had a password, but thought sudo was asking me for a sudo credential, which I didn&#39;t have (as Ludwig noted). It was asking me for my iMac password! When I entered it, the port install command worked immediately. Thanks for your help! Beers all around.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 10:18 AM, Mihai Moldovan <span dir="ltr">&lt;<a href="mailto:ionic@macports.org" target="_blank">ionic@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07.08.2015 10:37 AM, Rainer Müller wrote:<br>
&gt; On 2015-08-07 07:03, Jim Mattingly wrote:<br>
&gt;&gt; Getting the above-referenced error code when attempting command: port<br>
&gt;&gt; install pspp, Have even tried sudo, although it is only a single-user<br>
&gt;&gt; computer at home, then sudo scolds me and asks for a password I don’t<br>
&gt;&gt; have. Downloaded Xcode from app store and macports, according to<br>
&gt;&gt; macports guide, and env command worked just fine, but both install<br>
&gt;&gt; and selfupdate commands tell me I don’t have the necessary privileges<br>
&gt;&gt; to run them. Simply running commands on apple terminal with Xcode<br>
&gt;&gt; open. Any ideas what to do? I’m perhaps a relatively advance user,<br>
&gt;&gt; but not an IT pro, so perhaps there is something simple I’m<br>
&gt;&gt; overlooking.<br>
&gt;<br>
&gt; You can&#39;t use sudo without setting a password for your user account.<br>
&gt;<br>
&gt; <a href="https://support.apple.com/en-us/HT202035" rel="noreferrer" target="_blank">https://support.apple.com/en-us/HT202035</a><br>
<br>
</span>That&#39;s the way better answer.<br>
<br>
Also, make sure that your user account type is setup as &quot;Administrator&quot;, not<br>
&quot;Standard&quot; or &quot;Guest&quot; in System Preferences -&gt; Users and Groups (it should be,<br>
but please double-check.)<br>
<br>
You can also set a password there.<br>
<br>
After logging out and back in, sudo should magically work.<br>
<br>
<br>
Don&#39;t go the other route &quot;enabling&quot; the root account via Directory Utility or<br>
changing the sudoers file...<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Mihai<br>
<br>
<br>
</font></span></blockquote></div><br></div>