Macports password

Michael Nares michaelnares at
Mon Jun 17 04:12:22 PDT 2013

This is sorted now.  What I meant (sorry not being specific enough first time round) was when you type sudo port selfupdate into Terminal and it asks you for a password, as in:
Michaels-MacBook-Air:~ michael$ sudo port selfupdate
WARNING: Improper use of the sudo command could lead to data lossor the deletion of important system files. Please double-check yourtyping when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
I misunderstood, and didn't realise that I simply have to type in the login password for my mac in order to get MacPorts to update itself.

Date: Sun, 9 Jun 2013 17:16:22 -0400
Subject: Re: Macports password
From: allbery.b at
To: michaelnares at
CC: macports-users at

On Sun, Jun 9, 2013 at 3:19 PM, Michael Nares <michaelnares at> wrote:

I'm struggling to work out how to give myself a Macports password.  Can someone explain to me how to do this please?  I have installed Macports to my Mac, which is OS 10.8.4.

I'm not sure what you're asking.
If it's about the macports user that is created, you neither need nor want that password; when you do installs as root, macports automatically switches to the "macports" user so that buggy or malicious builds can't damage your system. The "port" command uses and manages this account itself. With the default install, you will do queries and such as yourself and installs as root; you would need to manually build and install MacPorts to get a version which does user installs (and does not use the macports user, since it isn't being run as root).

The only other password I'm aware of is for accounts on; just click the Register link at the top right and enter your email address and a password, and you will be sent a confirmation link.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at sinenomine.netunix, openafs, kerberos, infrastructure, xmonad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list