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.
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.