Am 10/21/2009 04:18 PM, schrieb Joachim Schipper:
On Wed, Oct 21, 2009 at 03:55:34PM +0200, elias r. wrote:
Am 10/21/2009 03:43 PM, schrieb Alexander Hall:
elias r. wrote:
hum, nobody's got an answer?
is there maybe a way via the shell pipelining to read the passphrase
>from a file and write it to stdin?
should this work?:
bioctl -c C -l /dev/wd0a softraid0< pass.keyfile
If will by default try to read it from /dev/tty, so you need to trick it
not to.
man readpassphrase
ah, on thing i can think of is chmod'ing /dev/tty -r before and +r
after the bioctl command, but this seems really dirty to me?
It doesn't work, either. bioctl runs as root.
Joachim
yeah, you are right!