Category filter

Script to Clear Password on Mac

Apple devices are known for their extensive security and privacy features. Apple does not allow users to remove the login password from their Macs as it could potentially risk any personal or confidential data if the device gets stolen or lost.

However, you will be able to set an empty string as the login password on your Macs using Hexnode’s Custom Script feature. The user will be able to log in to the device by simply clicking the “Enter” key without entering any password.

Disclaimer:

The Sample Scripts provided below are adapted from third-party Open-Source sites.

Clear password on your Mac

The above-mentioned script sets an empty string as the login password for your Macs.

Notes:

  • From macOS 10.14.2, you will not be able to set an empty password for admin users nor standard users.
  • You will not be able to clear the password on FileVault enabled devices.
  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.
  • Sample Script Repository