Ok, maybe I am a real newb on Mac OSX, but I didn’t know this one. Took me some fooling around in the OS to get it working. A little background. I am getting into some iPhone development. I want to dig into the Native app dev, and using SDK.
Using the Native app stuff, I wanted to make some directories in /usr/local/ , but was getting permission denied errors.. ok.., its UNIX, lets SU… but what is the root password? hmmm..
Figured this out.. go to Application->Utilities->Directory Utility
Once that is open, go to the Edit menu, Enable Root User. You can then set a password up.
Now back in terminal, run “su” and you can put in the root password you just set up, now you have rights!