You have the source to bioctl....

On Wed, Oct 21, 2009 at 9:52 AM, elias r. <obs...@crudp.ath.cx> 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?

Reply via email to