An alternative to reading the password from console might be to use pam_mount, to mount the encrypted filesystem when the user logs in.
Here is a description of using pam_mount together with dmcrypt: http://deb.riseup.net/storage/encryption/dmcrypt/
An alternative to reading the password from console might be to use pam_mount, to mount the encrypted filesystem when the user logs in.
Here is a description of using pam_mount together with dmcrypt: deb.riseup. net/storage/ encryption/ dmcrypt/
http://