<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'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"><<a href="mailto:ionic@macports.org" target="_blank">ionic@macports.org</a>></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>
> On 2015-08-07 07:03, Jim Mattingly wrote:<br>
>> Getting the above-referenced error code when attempting command: port<br>
>> install pspp, Have even tried sudo, although it is only a single-user<br>
>> computer at home, then sudo scolds me and asks for a password I don’t<br>
>> have. Downloaded Xcode from app store and macports, according to<br>
>> macports guide, and env command worked just fine, but both install<br>
>> and selfupdate commands tell me I don’t have the necessary privileges<br>
>> to run them. Simply running commands on apple terminal with Xcode<br>
>> open. Any ideas what to do? I’m perhaps a relatively advance user,<br>
>> but not an IT pro, so perhaps there is something simple I’m<br>
>> overlooking.<br>
><br>
> You can't use sudo without setting a password for your user account.<br>
><br>
> <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's the way better answer.<br>
<br>
Also, make sure that your user account type is setup as "Administrator", not<br>
"Standard" or "Guest" in System Preferences -> 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't go the other route "enabling" 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>