Re: Encrypted swap and partitions
OoO Lors de la soirée naissante du vendredi 15 août 2003, vers 17:15,
Marc Singer <elf@buici.com> disait:
>> Encrypted partitions need user interaction to be mounted (the password
>> is not generated on the fly, like for the swap),
> I thought I just read that it is possible to mount swap without
> entering a password. Sadly, i cannot now find the reference. It said
> that with certain loopback options, the swapfile is mounted with a
> random key generated by the kernel.
Yes, it is possible. Use mcookie to build a password (or any other
tool), then instruct losetup to read the password from stdin (-p 0).
--
BOFH excuse #265:
The mouse escaped.
Reply to: