Mac OS X Forget the root password to do, forget the login password (normal account password) is the same

Source: Internet
Author: User

Sometimes we set the root password for the Mac, not for a while, but forgot the password, how to do? Here are some ways to help you solve:

Step 1: Turn off your Mac system first

Step 2: Power on, hold command and s two buttons until the following interface appears:

Step 3: Above has prompted you to enter the command, first enter:/sbin/fsck-fy and then enter, wait for some time, input command again:/sbin/mount-uw/Then enter

Step 4: Enter: Launchctl load/system/library/launchdaemons/com.apple.opendirectoryd.plist and return

Step 5: Enter DSCL. Passwd/users/root 123456, this command is to set the root account password is 123456, if you want to set up your normal account is the power-on password, the root of the name of your account can be changed.

Step 6: Enter reboot or exit carriage return, the password has changed.

Mac OS X Forget the root password to do, forget the login password (normal account password) is the same

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.