Change The Password on an Encrypted DMG (Terminal)

To change the password on an existing encrypted dmg file, simply enter the below command into Terminal:

hdiutil chpass path/to/image

You will be prompted for the existing password prior to creating a new one.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.