top of page

Enable Root User on Mac

By default root user is disabled on Mac, you need to follow below steps in order to enable/disable or change password for root user on Mac.


1. From top left hand side, choose Apple menu > System Preferences, then click Users & Groups (or Accounts).



2. Click the lock icon , then enter an administrator name and password.


3. After you unlock the lock. Click Login Options, right next to home icon.


4. Now Click Join (or Edit), right next to Network Account Server. Now Click Open Directory Utility.


5. Click lock icon in the Directory Utility window, then enter an administrator name and password.


6. From the menu bar in Directory Utility: Choose Edit > Enable Root User, then enter the password that you want to use for the root user. You can enable/disable/change password for root user from here.

7. Now go to Terminal and switch user to root and test.

Rajas-MacBook-Pro: Rajput$ su root


Thank you!! If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Google or Facebook. Refer the links below.

Also click on "Subscribe" button on top right corner to stay updated with latest posts. Your opinion matters a lot please comment if you have any suggestion for me.


Want to share your thoughts about this blog?

Disclaimer: Please note that the information provided on this website is for general informational purposes only and should not be taken as legal advice. Dataneb is a platform for individuals to share their personal experiences with visa and immigration processes, and their views and opinions may not necessarily reflect those of the website owners or administrators. While we strive to keep the information up-to-date and accurate, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk. We strongly advise that you consult with a qualified immigration attorney or official government agencies for any specific questions or concerns related to your individual situation. We are not responsible for any losses, damages, or legal disputes arising from the use of information provided on this website. By using this website, you acknowledge and agree to the above disclaimer and Google's Terms of Use ( and Privacy Policy (

bottom of page