OS X Mavericks: Enable and disable the root user
The root user, or superuser, is a special user account in OS X that can modify and delete critical system files. By default, the root user is not enabled.
- Open Users & Groups preferences, click Login Options, then click the lock icon to unlock it. If necessary, type your password, then click Unlock.
- In the Network Account Server section, click Join or Edit.
- Click Open Directory Utility.
- Click the lock icon to unlock it, then enter your administrator name and password.
- Do one of the following:
Choose Edit > Enable Root User, then enter a root user password in the Password and Verify fields.
Choose Edit > Disable Root User.
Choose Edit > Change Root Password, then enter a new root user password.