How does the mac system obtain the highest authority to delete stubborn files?

How does the mac system obtain the best permissions to delete stubborn files? What should I do when I delete a file on my Mac system and I cannot move it to the Trash when I love you? We can get the highest permission of the mac system and then delete it. Let's take a look at the detailed tutorial.

In the process of using Mac, sometimes after uninstalling the software, some stubborn junk programs or files are left behind, which cannot be moved to the "Trash" and deleted normally, and it is difficult to delete even after obtaining Root permissions. Today, let’s take a look at what is a good way to get rid of it completely.

1. Open " System Preferences " and click " Users and Groups "

2. Click " Login Options ", click the small lock in the lower left corner, enter the password, unlock, and then click " Join..."

3. Click " Open Directory Utility..."

4. Click the small lock in the lower left corner to enter the password, unlock it, click on the " Directory Utility " window, find the " Edit " option in the upper left corner of the screen  right menu bar , click it, and then click " Enable Root User "

5. Set a password for the root account, such as: 1234

6. At this time, we have created an account with the highest authority. Click  in the upper left corner of the screen to log out of the current account. At this time, you will find that the login interface has one more " other options ", click *** to log in, the user name is: ROOT (both uppercase and lowercase), the password is what we just set, follow the setup wizard to set up the root account.

At this point, we have the highest system permissions of this Mac, and can access the folders and addresses that require ROOT permissions to access. Drag the stubborn files that cannot be deleted normally to the " Trash ", then restart the computer and hold down shift Hold the key, delete it in the *** safe mode, and check it after logging in normally. The stubborn files are finally gone.

Guess you like

Origin blog.csdn.net/fox_lori/article/details/113249374