Mac: Administrator privileges are lost, what should I do?

background: Sometimes you delete the administrator or change the name of the folder, resulting in the loss of administrator privileges. Let's talk about it today, how to get back the admin rights.

  • 1, holdCmd + S, press the power button again;
  • 2. When the command line terminal appears, enter the command in turn:
    /sbin/mount -uaw
    rm var/db/.applesetupdone
    reboot
    

Do not worry: reboot Once completed, a new user will be created, but don't worry, this will not result in the loss of previous account data. Then, set your previous account as an administrator in the new account.

Intelligent Recommendation

What should I do if I create an insufficient privileges error when creating a view

As shown in the figure, an error occurred while creating the view The reason is that the scott user does not have permission So log in with sys and found that the username and password are wrong, So g...

What should I do if I forget my password on Mac OS?

Command line workaround. Boot, press when startingcmd+S。 Enter single user mode(Single user model). Mac OS single user mode with access privileges(Root access privilege)Without requiring a root passwo...

What should I do if I don't use NTFS for Mac?

2019 Unicorn Enterprise Heavy Recruitment Python Engineer Standard >>> Mac read and write tools we are most commonly used by NTFS for Mac. When we install software on Mac OS X, restart discov...

What should I do if I have an ADB error under Mac?

Install ADB under Mac: 1 installation homebrew Terminal input: Then wait for the installation according to the password of the input system.    2 Next to install ADB through the BREW command...

What should I do if I need to obtain administrator rights when deleting files? See this blog

Step 1: OpenAttributes——> Safety ——> advanced Step 2: Clickchange     Step 3: Clickadvanced   Step 4: ClickFind now  ——> Loca...

More Recommendation

layui--select use and drop-down box to achieve keyboard selection

Note a few points: 1. The select drop-down box must be placed under the layui-form category. This layui-form does not have to be placed on the form, it is also possible to place it in a div 2. Pay att...

Picture switch

Just a few HTML codes Tag, there is also a span tag Take a look at the css code background-repeat specifies how to repeat the background image. Through the scale() method, the size of the element will...

Pycharm Quickly Install OpenCV

Since the PIP source website that comes with pycharm is a foreign website, many domestic users have extremely slow downloading of other software packages in pycharm, and sometimes they will jump out o...

Use python to crawl the cover picture of Huya anchor live broadcast (scrapy)

Purpose: Use Scrapy framework to crawl the cover image of Huya anchor live broadcast Scrapy (install the Scrapy framework through pip pip install Scrapy) and Python3.x installation tutorial can find t...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top