Hi,

I am trying to write a runit script that would require a passphrase
when starting. This passphrase must not exist in clear on the
filesystem, and it would require user interaction.

I tried to have runit read the passphrase into the environment of the script:

read -s PASSPHRASE
exec prog # reads PASSPHRASE from the environment

but starting this with runit triggers no interaction, and the
PASSPHRASE variable ends up being empty.

Any idea how to proceed?

Cheers,
Christophe-Marie

Reply via email to