Talk:HOWTO Encrypt Your Home Directory Using LUKS and pam mount

From Gentoo Linux Wiki

Jump to: navigation, search

[edit] pam_mount-0.29

Could someone update this howto towards sys-auth/pam_mount-0.29 which is in Portage now and comes with a .XML style config.

In detail I wasn't able to setup /etc/pam.d/system-auth, root login was disabled. forums thread sys-libs/pam_mount-0.17-r1 from the overlay ebuild is still working fine with this howto.

This needs to be updated to refer to cryptsetup, as crypt-luks appears to be deprecated.

[edit] XML configuration file for pam_mount

pam_mount now indeed use an XML configuration file named /etc/security/pam_mount.conf.xml. The configuration is relatively straightforward. The line "volume john crypt - /dev/hda4 /home/john - - -" needs to be replaced by the following line:

<volume user="john" fstype="crypt" path="/dev/hda4" mountpoint="/home/john" />


So replace it... 24.117.141.119 16:03, 15 April 2008 (UTC)

Personal tools