Macports password

Jean Gobin jeanfgobin at
Mon Jun 17 04:22:03 PDT 2013


Yes: the *sudo* command is used to execute the command passed as  argument
with elevated privileges (if no other user is specified). This allows to
limit the abuse of the root user (or the su command). "man sudo" for more


On Mon, Jun 17, 2013 at 1:12 PM, Michael Nares
<michaelnares at>wrote:

> 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 loss
> or the deletion of important system files. Please double-check your
> typing when using sudo. Type "man sudo" for more information.
> To proceed, enter your password, or type Ctrl-C to abort.
> Password:
> 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
> unix, openafs, kerberos, infrastructure, xmonad
> _______________________________________________
> macports-users mailing list
> macports-users at

Jean Gobin, CCENT, CCNA, CCNA Security
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list