Enabling Root in Mac OS 10.5 Leopard

When troubleshooting your Mac, it helps if you can log in as a different user. Instead of creating a new user, you can enable Root. Here’s how:

  1. Open Finder,
  2. Browse to Applications -> Utilities,
  3. Open Directory Utility,
  4. Click the lock to make changes,
  5. Enter your password when prompted,
  6. From the Taskbar go to Edit -> Enable Root User,
  7. Enter a new password for Root,
  8. Confirm the password and click OK,
  9. Close Directory Utility, and log out of your Mac,
  10. At the login screen, click the picture for Other…,
  11. Type the username root, with the password you previously set.

The root account should only be used when absolutely necessary, and when you know what you’re doing.

If You Found This Post Interesting, Then You Might Also Like:

5 Comments Posted in Apple, Mac, Mac OS X, Software, Technology
Tagged ,

5 Comments

  1. Or do this, in terminal:

    sudo passwd root

    It will then ask you for the password.

  2. Hi Charlie,

    This will only work of the root account is already enabled, it’s disabled by default.

    Regards,
    Paul.

  3. I’ve just played around with this, and you’re correct. My apologies.

    When using

    sudo passwd root

    the shell will return with an error message:

    passwd: Unable to change password for record root. Account is disabled.

    Despite this error message, the root account is enabled, as is confirmed by using

    su

    to login as root.

    Thanks Charlie for pointing this out.

    Cheers,
    Paul.

  4. well, how do i disable Root user??

  5. Once root is enabled, the Edit menu in Directory Utility will display a “Disable root” option.

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>