Enable root user in Mac terminal

Simple guide to unlock and enable root user in Mac terminal. By default root user is disabled in mac for security reasons. If you really need it, Mac provide an option to enable it. Follow the steps below.

How to enable root user in Mac terminal

This guide will work on Mac OS X Mountain Lion, Mavericks, Yosemite, etcHow to enable root user in Mac

  • Open Finder and Navigate to /System/Library/CoreServices/
  • And open Directory Utility.app
  • Unlock the Lock symbol (on left bottom corner) to make changes
  • Click on “Edit” from the top menu and click on “Enable root user”
  • Set new password for the root
  • Open terminal and sure the command “su” (without quotes) to login as root user on Mac

Leave a Reply

Are you a human being ? *
Time limit is exhausted. Please reload CAPTCHA.