hdiutil fails to mount password protected sparse bundles through SSH in Mavericks

Originator:josh.wiltshire
Number:rdar://15701024 Date Originated:12/19/13
Status:Duplicate Resolved:
Product:OS X Product Version:10.9.1
Classification: Reproducible:Always
 
In Mavericks, when using hdiutil to mount a password protected sparsebundles, the prompt for password is passed from the command line to the GUI. However, if you are working without a GUI, as in through an SSH session, there is no way to pass the prompt, and hdiutil fails with an internal error.

1. Create a password protected sparsebundle
2. Connect via SSH
2. Use the hdiutil command to attach the password protected sparsebundle

The shell should prompt for the password to be entered and then mount the sparsebundle.

hdiutil does not prompt for a password and instead returns an internal error. 

10.9.1 build 13842

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!