Am 10/21/2009 05:11 PM, schrieb Marco Peereboom:
I am working on a diff that will do this right. So hang on.
On Wed, Oct 21, 2009 at 03:52:47PM +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
hum, ok, that sounds logical...
do you have any suggestions how to do it?
right now, i don't have an idea how to prevent a root-priviledged
program from reading from tty...
and the flags mentioned in the man-page are all set at compile-time,
aren't they?
thanks a lot! :)