How do I become superuser in the Mac terminal?

 

Contents

 

How do I become superuser in the Mac terminal?

How do I find my su password on Mac?

How to unlock Recovery HD Mac?

What are macOS Utilities?

How do I access Mac OS utilities?

How to Erase a Mac Catalina?

How do I become superuser in the Mac terminal?

 

In the terminal, enter root mode with the sudo command; Especially when you have a busy life as root, the easiest way is to open a root shell with sudo -s. You will then remain in root mode until you type exit, after which you will revert to your "normal" admin-level powers.

 

How do I find my su password on Mac?

 

Open Directory Utility from /System/Library/CoreServices or in OS X 10.11 and later System/Library/CoreServices/Applications .

Click the lock button and authenticate as an administrator:

Go to the menu Edit > Change root password…:

It should prompt you to enter a new root password:

How to unlock Recovery HD Mac?

 

Recovery HD is locked Recovery HD can sometimes be locked, which is indicated by the appearance of an error message saying "Disk is locked". To fix this, just go to Disk Utility, click on the disk, then click "Enable Journaling" to unlock the drive.

 

What are macOS Utilities?

 

A macOS Utilities window will open where you'll see options to restore from Time Machine backup and reinstall macOS [version], Safari (or Get Online Help in older versions), and Disk Utility. Your next step depends on whether you want to erase the Mac before reinstalling the operating system.

 

How do I access Mac OS utilities?

 

To boot into the recovery drive on an Intel Mac:

 

Shut down your Mac.

Hold down the Command and R keys and press the Power key.

Hold down the Command and R keys until the Apple logo appears on the screen.

You should see a screen that says macOS Utilities (or, if your Mac is older, OS X Utilities).

How to Erase a Mac Catalina?

 

In Disk Utility, choose View > Show All Devices. Select your startup disk on the left, then click Erase. Click the Format pop-up menu (APFS must be selected), enter a name, then click Delete. After the hard drive is erased, choose Disk Utility > Quit Disk Utility.

Post a Comment

Previous Post Next Post