Mac OSX 10.5 Leopard – Enable Root Access

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!

About these ads

8 thoughts on “Mac OSX 10.5 Leopard – Enable Root Access”

  1. Nice Post! I actually always wondered about this and never spent the time to figure it out. For some reason sudo would always work with my password. At least now i won’t have to put sudo in front of everything.

    Like

    1. hi,

      I followed all the instructions up to the point where we have to click Edit -> Enable Root User. However, after clicking on it nothing seem to happen. Everything is unlocked, everything is enabled. Any help would be much appreciated

      Like

  2. At first glance, it seems as though the “Enable Root User” is greyed out and unusable, but if you ckick the unlock icon in the lower left corner, you can access that menu item (We’re assuming, of course, that you are logged in as an admin in the first place.).

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s