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


Click here to return to the 'Access FileVault sparseimages via ssh' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Access FileVault sparseimages via ssh
Authored by: pukku on Mar 04, '04 12:23:09PM

Although this still leaves your password in plaintext, you might avoid all the various key combinations as follows (untested, but it should work...)

echo "passwordhere" | hdutil -stdinpass ...

HTH,
Ricky

---
-- Pukku



[ Reply to This | # ]
Access FileVault sparseimages via ssh
Authored by: pukku on Mar 04, '04 12:25:04PM

OK, so I mistyped the name of the program (hdiutil or hdid). Perhaps the submit form could show the original comment?

---
-- Pukku



[ Reply to This | # ]
Access FileVault sparseimages via ssh
Authored by: tancurl on Mar 04, '04 04:12:06PM

That is a really bad idea - even if it is easier.

Putting a password on the command-line means that anyone with access to your machine will be able to capture your password by just running "ps" or some similar command that lists the active processes.



[ Reply to This | # ]
Access FileVault sparseimages via ssh
Authored by: zojas on Mar 04, '04 04:12:17PM

don't even think about doing that!! your password could be saved in your shell's history file and written in plaintext in the history file.

of course, since we're talking about mounting a filevault home here, you would probably be safe, but there's no reason to get used to leaking password's into your shell's history file.



[ Reply to This | # ]