Carlos E. R. wrote:
which seems easier that crypttab, but if the needed options are those you write there, then it is easy enough. However... Do I need the fstab line if I mount it via /etc/init.d/boot.crypto? Because mounting via boot.crypto is obviously simpler than the three line commands you write:
If you want boot.crypto to mount entries in crypttab you also need an entry in fstab since crypttab doesn't contain information about mount points or file systems.
] losetup /dev/loop0 /secret.img ] cryptsetup --hash sha512 --cipher twofish-cbc-plain --key-size 256 create secret_img /dev/loop0 ] mount /dev/mapper/secret_img /secret
Those commands are just for explaining what boot.crypto does. If all goes well you don't need to type them manually. You may find them helpful if some step doesn't work and you need to debug things manually though. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org