On my Mac I use an Admin and an everyday User account (without admin / sudo privileges). Currently I am setting up a new Yosemite system and found that after installing MacPorts (using its installer), I cannot do sudo operations, such as
sudo port selfupdate. In the user account it tells me that it does not have sufficient privileges and on the admin account the command
port is not found.
So I am wondering what is the correct way to set up MacPorts on OS X? Should I install it rather on the Admin instead of the User account? Or is there some other way to use it from the User account?