Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Securely mount FileVault images without logging in' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Securely mount FileVault images without logging in
Authored by: bradhenry on Jan 01, '06 02:49:51PM

Tested on Panther -

Instead of "/Users/username.sparseimage" you'll need "/Users/username/username.sparseimage"

The -stdinpass will allow you to type in the password in the terminal, but you need to put a null character (control-@) after the password, then newline, then control-d
(the password will not be masked). You can leave off the -stdinpass to get a GUI panel to enter the password (with option to save in keychain).

I don't know how to properly unmount it, after mounting the disk image on a test mount point, I seem to have horqued something when I tried to unmount it. I cannot mount it again, I get this error (with -verbose flag):

...
Attaching...
Finishing...
DIHLDiskImageAttach() returned 35
<CFDictionary 0x327ba0 [0xa3b480e0]>{type = immutable, count = 0, capacity = 0, pairs = (
)}
hdiutil: attach failed - Resource temporarily unavailable

But I have no idea what I am doing, so user error/ignorance is probably the cause.



[ Reply to This | # ]
Securely mount FileVault images without logging in
Authored by: bradhenry on Jan 01, '06 02:52:30PM

Hardcore horqued, cause I can't login to that user anymore. I assume a reboot will fix. But be careful when doing this.



[ Reply to This | # ]