123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computers >> View Article

Mac: Enable The Root User

Profile Picture
By Author: Jack thomson
Total Articles: 201
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Even if you are the administrator, macOS doesn’t allow you access to certain parts of the file system. In such scenarios, you can enable the root user to gain read and write access to the entire file system. The root user provides you full control over your Mac, which can also be used to recover your password if you have forgotten. While the root user is a very useful tool, it can easily damage your Mac. That is why Apple hasn’t enabled the root access by default. But if you need to access your root account, here is how.

Through the Terminal

To enable root access through your Mac, follow the steps below:

Step 1: First, launch the Terminal and navigate to “Applications -> Utilities.”

Step 2: Once you have reaches the Terminal window, type and enter the following command:

dsenableroot

Now, the Terminal will request you to enter your password.

Step 2: Enter your password to move ahead.

Step 3: The Terminal will now prompt you to create a password for your root account. Ensure that you create a strong password, as this password can grant access to every ...
... part of your Mac.

Step 4: Once the password to the root account has been created, the following message will appear:

You have successfully enabled root on your computer. You can now complete all those tasks that were not possible through a regular user account.

Directory Utility

Follow the steps below to enable your root account via the Directory Utility:

Step 1. Right-click on the menu icon located towards the upper-right corner of your screen to open your Mac’s Spotlight.

Step 2. Once the Spotlight window opens, type and search for “Directory Utility” to select the application.

Step 3. Once the Directory Utility opens up, select the “Services” tab.

Step 4. Find the little padlock icon in the bottom-left corner and click on it to enter your username and password.

Step 5. Then click on “Edit” followed by “Enable Root User.”

Step 6. Next, you will be prompted to create a username and password for your root account.

Step 7. Then hit “OK” to create your root account.

In case you feel like disabling your root account at any point in time, simply relaunch the Directory Utility, and click “Edit” followed by “Deactivate root user.”

Log in to the Root Account

After enabling the root account, follow the steps to log in to the root account:

Step 1. Start by logging out of your current account, as you would generally do.

Step 2. The macOS login screen will appear; here, select “Other.”

Step 3. Under the username box, type “root,” and then enter your root password.

Step 4. Finally, enter the option labeled, “Log in to the account.”

Your root account may look the same as your regular user account, but know that you can visit, edit, and even delete those files that were otherwise off-limits with access to this account.

How to Disable Root User via Terminal

The root account should be accessed only when the task particularly requires root privileges, as it may otherwise lead to malicious activities or even accidental damage. So, you must consider disabling your root as soon as it’s no longer needed.

Step 1: Start by launching your Mac’s Terminal by clicking on “Applications -> Utilities -> Terminal,” and type the following command:

dsenableroot -d

Step 2: Enter the password for your current root account when prompted. The following message will appear:

Your root user account has now been disabled on your Mac.

Source:- https://dcougar.com/mac-enable-the-root-user/

More About the Author

Greetings, I’m Jack. I’m a writer living in usa. I am a fan of technology, innovation, and writing. thomsonj1947.over-blog.com , jackthomson1.doodlekit , mystrikingly.com, mix.com

Total Views: 510Word Count: 563See All articles From Author

Add Comment

Computers Articles

1. Web Scraping Top Grocery Chains In Michigan
Author: FoodDataScrape

2. How Refurbished Laptops Help Students Save Money And Study Smarter In 2025
Author: usedstore

3. Why The Ls3002 Barcode Scanner Is Perfect For Retail In 2025
Author: prime pos

4. Does Cleaning Temporary Files Really Improve Laptop Speed? (what To Expect)
Author: Neha Jain

5. Extract Supermarket Data From Walmart & Target In Usa
Author: FoodDataScrape

6. How Odoo Partners Drive Growth: From Implementation To Innovation
Author: Alex Forsyth

7. Leverage Web Scraping Cold Drinks Data On Swiggy Instamart
Author: FoodDataScrape

8. Empowering Universities Through Student Engagement Crm Solutions|e2s
Author: Brenda Joyce

9. Odoo Manufacturing And Lean Practices For Small And Medium Enterprises
Author: Alex Forsyth

10. How Posiflex Pos Machines Enhances Customer Service
Author: pbs

11. Scrape Keeta Food Delivery App Data In Saudi Arabia For Insights
Author: FoodDataScrape

12. Microsoft Office Professional Plus 2021 Vs. Microsoft Office Professional Plus 2024: Which One Should You Choose?
Author: davudobuya55

13. Microsoft Office Professional Plus 2019 Vs. Microsoft Office Professional Plus 2019 Dvd: Which Version Should You Choose?
Author: davudobuya55

14. Microsoft Office Professional 2024 Vs. Microsoft Office Professional Plus 2010: Which One Is Right For You?
Author: davudobuya55

15. Microsoft Office Home Business 2021 For Mac Vs Microsoft Office Home Student 2021 For Mac: Which Is Right For You?
Author: davudobuya55

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: