Mailinglist Archive: opensuse-security (128 mails)

< Previous Next >
Re: [opensuse-security] How does one convert from /etc/cryptotab to /etc/crypttab
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 30 Nov 2007 14:40:35 +0100 (CET)
  • Message-id: <alpine.LSU.0.9999.0711301438340.2626@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2007-11-30 at 13:31 +0100, Ludwig Nussel 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.

Yep, I saw that later.


] 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.

Right.

Now I will have to write my own notes to remember all this, hoping it doesn't change again next year :-p

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFHUBLWtTMYHG2NR9URAsc1AJ9PqJKQXrChmrxFQCyi7XuVd+wzDQCfbewN
v1VfpL3w33AiCQ7oNLDgoqg=
=Stut
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-security+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-security+help@xxxxxxxxxxxx

< Previous Next >