Elvis Pfützenreuter wrote: > > > > I have created a new PAM module (pam_mount, it can be used to dynamic > > > mounting of remote SMB/NCP volumes for a user session). > > > > Isn't that why we have autofs? > > In principle, yes, but AFAIK autofs cannot collect the user password at > login. <snip> Two questions regarding this: 1. How do you manage multiple login? 2. Can this be extended to loop-device encrypted home directories? We need something along the lines of: losetup -e cipher /dev/loopx /crypt/file e2fsck /dev/loopx mount /dev/loopx /home/user ... umount /home/user losetup -d /dev/loopx You can reply in private, if you like. Marc -- Marc Mutz <Marc@Mutz.com> http://EncryptionHOWTO.sourceforge.net/ University of Bielefeld, Dep. of Mathematics / Dep. of Physics PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)