I’m looking for a way of mounting an encrypted volume - home folder or a separate mount point, using only the standard login authentication (ie KDM or ssh).
I thought the pam_mount module provided this, but I still get prompted for a password on the console at boot time. This is inconvenient as both my main desktops are headless HTPCs. I want the login credentials to be passed through, at log in time.
I’m guessing this is possible, but to be honest, encryption is one thing in Linux that still completely confuses me.
>
> I’m looking for a way of mounting an encrypted volume - home folder
> or a separate mount point, using only the standard login
> authentication (ie KDM or ssh).
>
> I thought the pam_mount module provided this, but I still get prompted
> for a password on the console at boot time. This is inconvenient as
> both my main desktops are headless HTPCs. I want the login
> credentials to be passed through, at log in time.
That prompt is done by the “/etc/init.d/boot.crypto” script. Provided
that kdm can do that (I don’t know) you have to disable that script
(chkconfig).
Perhaps you have to disable it (or put the home partition as noauto),
then ssh as root to activate it, and finally, log in as the user.
Dunno, never have done that.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))