Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Disable MacOS Password Change via Terminal?

Is there a way to disable the ability to change a macOS password using the Terminal window as part of putting the Mac in ‘Recovery’ mode?


This is a “frightening” capability, because it allows “anyone” (who knows how to do this) to break into any Mac! All someone would need to do is use this ‘feature’ to change the password (on any Mac), then just log in using the new password they created!


Granted, Keychain information may be disabled, but it still allows someone to see all of the contents (for the affected user account) on the computer - even if the ‘legitimate’ user has turned on FileVault.


For those people that want to put more confidential / personal information on their Mac, this is a huge risk.

4 replies

The associated Apple ID or the FileVault recovery key or equivalent is required for the reset.


Related:

https://support.apple.com/en-us/HT202860

https://support.apple.com/en-us/HT212190

Use FileVault to encrypt your Mac startup disk - Apple Support

https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf


If the storage is not encrypted, there are other issues awaiting the configuration, such as data security around parts swaps for repairs, or the inevitable decommissioning of the Mac.


In addition to Firmware password, you can turn on FileVault; you can’t reset that password.

Why are you not using FileVault?


Why are you allowing others physical access to your computer?


FileVault, FileVault, FileVault