Unable to open the lock for making changes

Can anyone please tell me how to open the lock?I'm able to login into my Mac but I'm not able to use the login password to open the lock(which is needed for downloading software and deleting it).I might have forgotten the password but I've changed it and still not able to unlock it.Pls help me with a solution where I can solve it without compromising the data in my disk.I've also posted a image info about

MacBook Pro 13″, macOS 10.13

Posted on Nov 2, 2020 10:12 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 3, 2020 9:36 AM

Your account was changed to Standard, you need to make it an admin account, which requires another admin account.


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will stile there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

11 replies
Question marked as Top-ranking reply

Nov 3, 2020 9:36 AM in response to HarishPrabhu_02

Your account was changed to Standard, you need to make it an admin account, which requires another admin account.


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will stile there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to open the lock for making changes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.