X

How to Change Root Password on Mac

Root user in Mac OS is an individual user, different than administrators and has exclusive rights and powers to make any change to the system. If you forgot the password of Mac OS Root user, see how to recover Root password using different methods in Mac OS. In this guide, you will see how to reset or change root user password using the Directory Utilities, from the Terminal app or with the help of a boot DVD.

See also: How to Enable/Disable Root User on Mac

Change the root password

Root password can be changed from Directory Utilities.

  1. Click the Apple menu (), select System Preferences, and then click Users & Groups (or Accounts) according to your Mac OS version.
  2. Now, click the Lock icon to make changes, and you have to enter administrator name and password.
  3. Click Login Options and then Click Join (or Edit) depends on Mac OS version.
  4. Select Open Directory Utility, and here again click the Lock, and then enter the admin username and password.
  5. Once you are on the Directory Utility window, on the top click the menu Edit > Change Root Password.
  6. Type and change the root password.

Set root password using Terminal

  • Click Finder icon on the dock and Navigate to Applications > Utilities and launch Terminal
  • Copy and paste or just type the following command in the Terminal window and hit enter/return
    sudo passwd root

    It asks for your password, so enter the password of your current login and press enter/return.
  • Now it asks to set a New password for Root user, type new password and hit enter/return.
  • Retype Root password and press enter/return.
  • The Root password has been changed.

Reset root user password with installation DVD

Use installation DVD of Mac OS X to boot your Mac and through Reset Password option set a new password for Root.

Categories: Mac OS X macOS
shamid:

View Comments (9)

This website uses cookies.

Read More