ejoy.over-blog.com/
10 Janvier 2021
Just like Windows, Mac is another operating system that is being used by millions of people around the world. At certain points, it considered better than Windows. However, the fundamental usages on both are quite similar. Just the way of doing things is different. In this article, I am going to explain how to reset your Mac login or admin password if you forgot it by chance.
There are certain ways and methods that you can employ to reset the password of you Mac OS X in case you forgot it. There might be many ways of resetting the Mac password but I am explaining the three ways that I am familiar with.
The computer will enter into recovery mode. So once you get to the screen go to the terminal so you want to click on tha.t once you do that you want to type in reset password with no spaces click enter. How To Remove PASSWORD on MacBook Pro All Macs! Unlock Passcode for Pro Air iMac Mac Pro.
Mac OS X has inbuilt password recovery utility that you can use to reset the password. Follow the steps below: 1) Start your Mac computer by pressing the Power button. 2) Press Command + R immediately to boot your Mac computer to recovery drive. On the Terminal application just write: resetpassword. Then press enter and it will display a window like the one below, select HDD (1) and select your user account (2), fill the password box with your new password and then click save (3) After restarting the Mac, login with the new password and pop-up window will appear related keychain. I suggest you to choose Create New Keychain and now you have successfully reset your password on Mac.
One of the simplest and easiest ways to reset Mac OS X password is resetting by using your Apple ID.Now since you forgot your password, just enter wrong passwords many times on the login screen, and you will see a message just as you can see in the screenshot below that states that you can reset the password using the Apple ID.
There you can also see a small arrow that you have to click to reset the password. Follow the on-screen instruction, and in few minutes you will be able to reset your password. This method is simple and effective! I prefer this one over any other method, and that is the reason, I kept this on the top on my list.
Note: This method will work only if you already have the Apple ID linked to your account. If you're Windows 10 user, don't forgot to check our other guide for Windows 10 password reset.
Mac OS X has inbuilt password recovery utility that you can use to reset the password.
Follow the steps below:
1) Start your Mac computer by pressing the Power button.
2) Press Command + R immediately to boot your Mac computer to recovery drive.
Step 3. Now you will see the recovery utility screen. Select Terminal from Utilities Menu. Then type the command: resetpassword in the Terminal.
Step 4. Press the Enter button, and the Password Recovery Utility will be opened. There you have to select the volume that contains the user account which is by default: Macintosh HD. Enter a new password, and click on save.
Important Note: Keep the Terminal open while doing all this process.
Step 5. Restart your Mac computer, and when it asks the password, enter the password you have just set in step 4, and you will be able to log in.
Before you get on to try this method, let me tell you a few things:
1. This method will create a new admin account, and then you can use that account to reset your existing account's password.
2. Though this method is well tested, you must have the backup of your data. And, we don't take any responsibilities of any damage that may happen (in rare cases) while carrying out this method.
3. Try this method only if no other method works for you.
Follow the steps below to carry out the password reset using Terminal:
Step 1. Press power button to turn your Mac On. And Press and hold Command + S
Step 2. Doing this will open the Terminal in single user mode. If you see the below screen, you are successfully entered into the single user mode of Terminal.
Step 3. Now, you need to execute a set of commands one by one that I have listed below. Remember, after every command you type, you have to press the enter button to execute that command.
mount -uw /
rm /var/db/.AppleSetupDone
shutdown –h
Step 4. After the last command, your Mac will be shut down. Press power button to start again. You will see the Mac startup screen. Follow the steps that are narrated by your Mac to create an admin account.
Step 5. Now, you will be logged in using your new admin account. Go to Users & Groups from System Preferences.
Step 6. Now, Click on the lock icon to authenticate. And enter the admin user and password you have just created.
Step 7. Now you will see all the user accounts that are present on your Mac. You just have to select the account which password you need to reset, and just do it.
Once you are done with the resetting the password of the account, you may log out of the newly created admin account, and log in with the account which password you have just reset using the new password.
These are the three best ways to reset the Mac login password when you forgot it. For better security, note down your password somewhere, and keep that safe! Hope you like these methods.
When you first start using a brand-new Mac or performed a clean install of OS X, you are presented with Setup Assistant, allowing you to create the first user account and specify some initial information, such as keyboard layout and locale.
Under certain circumstances, it can be advantageous to re-run the Setup Assistant. Using some command-line trickery, we can do just this without having to erase and reinstall OS X.
Setup Assistant is designed to run on the first boot of a fresh install of OS X, which is why you'll only see it when booting up a a brand-new Mac or one that has been erased and had OS X reinstalled.
Besides options for keyboard layout, time zone and asking if you'd like to register, Setup Assistant also lets you create a new user account. As Setup Assistant assumes the account it is creating to be the first, it is always given administrator privileges.
There may come a time when you need to set up a second user account on a Mac while attempting to resolve a user account issue. If a Mac has only one user account and it seems to be unable to log in correctly (getting stuck at the login window, for example), having a second account will allow you to access OS X and continue troubleshooting.
By re-running Setup Assistant, we can use the process to create a user account that will automatically have administrator privileges, without having to do so via System Preferences, which we might not be able to access.
There are other reasons why re-running it can be advantageous, though in my experience, the above has always been the most common reason to do so. Sure, you can create user accounts using a number of commands, but Setup Assistant is just far easier.
Every time OS X boots, it checks for the existence of a file known as .AppleSetupDone. This empty file is created after the completion of Setup Assistant. It doesn't exist on a brand-new, out-of-the-box Mac, nor on one that has had a clean installation of OS X.
By removing this file, OS X will assume that Setup Assistant has never been run and will launch it as soon as OS X boots.
Setup Assistant is also run with root privileges, which is why it can create a new user account with administrator privileges without the need for any authorisation.
Ftp client software free download. To remove this file, we need to boot the Mac into Single-User Mode. This provides a method of interacting with OS X via the command-line, with full root privileges.
Start up the Mac whilst holding down ⌘-S. After a few moments, you'll see the Mac boot to the command line.
Before continuing, the filesystem must be checked and mounted, so files are't immediately accessible to interact with. To do this, enter the two commands that are displayed within the prompt, one at a time.
The following command will check the filesystem to ensure there are no problems. Enter:

The next command will then mount the filesystem for it to be accessible:
With the filesystem mounted and accessible, it's time to remove the file so OS X will re-run Setup Assistant:
After that, simply enter reboot and your Mac will restart and boot normally. Only this time, Setup Assistant will launch.
By now, you're probably wondering why should this be even possible, since someone may use this to gain access to a Mac. Indeed, re-running Setup Assistant would certainly allow for an unauthorised person to create a new account with administrative privileges and gain access to the Mac along with your data.
In terms of security, physical access trumps almost every method of preventing unauthorised access not involving encryption. While a little more complicated with the SSD technology Apple uses in their product lines, access to your data can easily be done simply by removing the Mac's storage device and connecting it to another.
This is where encryption methods such as Firmware Password and FileVault 2 are useful. With a Firmware Password set, it must be entered if the Mac is being booted either into Single-User Mode or to another boot volume. FileVault 2 takes this one step further by performing full disk encryption, preventing any form of access to your data unless authorised by entering your user account password - even if the drive is removed and attached to another Mac.
How to bypass reset password on any Mac computer. This tutorial is gonna help you if you have a mac pro with passcode. so you can't log into your computer or if you have just forgotten your password. it's a very simple procedure this tutorial is gonna work for Mac OSX 10.6 – 10.9 and above. This tutorial will cover lion mountain lion, Mavericks, Yosemite captain and Sierra but if you happen to have a Mac with different operating systems such as Snow Leopard or Leopard I also have another separate tutorial covering that.
Steps:
1) Turn off the computer
2) Turn on the computer while holding command and 'R' buttons

3) Once in recovery mode, go to
4) Type in 'resetpassword' (All one word)
5) Fill out your new password and information and that's it!
the first step is to turn off your computer, then we already know it's completely turned off you want to turn the computer back on and you want to hold down the command 'R' and order button at the same time until you hear till you hear another little sound.
The computer will enter into recovery mode. so once you get to the screen go to the terminal so you want to click on tha.t once you do that you want to type in reset password with no spaces click enter.
How to bypass reset password on any Mac computer
more tips :
