If you’re an expert at the command line and would rather not log in to your computer as the root user, you can enter the su command in the Terminal application. Follow the instructions in our How to Password Protect Your Mac tutorial. Tip: To log in as root from the macOS login screen, you must have automatic login and FileVault disabled. You’ll be logged in as root until you log out, restart, or shut down your computer. When the list of users appears, click Other, type root in the Name field, and enter your root password in the password field. Now you can log in as the root user at the macOS login screen. The Directory Utility window appears.įrom the Edit menu, select Enable Root User.Įnter the password for the root user in the Password and Verify fields.Ĭlick OK to enable the root user and save the password. Ready to turn on your Mac’s superuser account? Here’s how to enable the root user account on a Mac and set the password:įrom the Apple menu, select System Preferences.Ĭlick the lock icon and authenticate with an administrator account.Ĭlick Join, as shown in the figure below.Ĭlick the Open Directory Utility button. System administrators consider using sudo a best practice - you should always try using sudo before you log in as root! Enabling the Root User Account Most commands can be executed with sudo, but you’ll need to authenticate with your administrator password to execute the command as root.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |