The user account named ”root” is a superuser with read and write privileges to more areas of the system, including files in other macOS user accounts. The root user is disabled by default. If you can log in to your Mac with an administrator account, you can enable the root user, then log in as the root user to complete your task.
NeXT, and by inheritance Mac OS X, is at its base almost as old as the original Mac OS. Indeed, with its UNIX roots it can be argued that OS X is actually older than MacOS Classic. OS X can trace its roots back through FreeBSD, through BSD UNIX, and eventually back to Bell Labs and the birth of UNIX. Something important had changed though since.
The root user account is not intended for routine use. Its privileges allow changes to files that are required by your Mac. To undo such changes, you might need to reinstall your system software. You should disable the root user after completing your task.
It's safer to use the sudo
command in Terminal instead of enabling the root user. To learn about sudo
, open the Terminal app and enter man sudo
.
When the root user is enabled, you have the privileges of the root user only while logged in as the root user.
Remember to disable the root user after completing your task.