Schnellzugriff » 
Home 

How-to: Debian: Automatically mounted loopback images with dm-crypt, LUKS, pam_mount

Donnerstag, Juni 17th, 2010

How to create encrypted loopback images with dm-crypt and LUKS + automatically mounting them after login with pam_mount
I recommend using debian squeeze for this scenario as lenny includes a very old version of libpam-mount and I had lots of problems when I tried using it.
Using only the libpam-mount package and its dependencies from squeeze maybe [...]

Posted in Administration, Linux / Unix, Sicherheit | Kommentare deaktiviert>

Debian Lenny: pam_mount, files and loop devices

Donnerstag, Juni 17th, 2010

When I was trying to automatically mount an encrypted image at login using pam_mount, I encountered a strange problem:
I wasn’t able to find any errors in my configuration (at least none connected to this behaviour), but mount.crypt was unable to mount the image.
Enabling debugging in pam_mount.conf.xml (<debug enable="1" />) revealed the command used for mounting:
pam_mount(misc.c:272) [...]

Posted in Administration, Linux / Unix | Kommentare deaktiviert>

XEN Loop Disk Image vergrößern

Dienstag, August 25th, 2009

Das Loop Disk Image einer XEN DomU ist zu klein geworden? Solang die Festplatte des Hypervisors noch genügend Platzreserven hat, ist das glücklicherweise kein unlösbares Problem. Loop Disk Images können mit Bordmitteln vergrößert werden. Zwei kleine Beispiele für die Vorgehensweise bei EXT2, EXT3 und XFS Dateisystem:
EXT2 / EXT3 Dateisystem
VM herunterfahren:
xm shutdown domu.blub.local
Image um 30GB vergrößern:
dd [...]

Posted in Linux / Unix, XEN | Kommentare deaktiviert>

© 2007 - 2009 Thorsten Boock