Change password of encrypted disk image in OS X with Terminal Via superuser: hdiutil chpass [image_name]