can I configure pam_mount to only ask for the password on login and not when unlocking the screen or doing sudo?
I'm using pam_fingerprint-gui.so to login. I now started using pam_mount to mount and unmount a volume on login/logout. I understand that it is insecure to have the volume mounted only via fingerprint.
Anyways I think pam_mount doesn't unmount the volume when I lock the screen or doesn't really has any effect when I'm doing sudo. pam_mount makes pam_fingerprint-gui almost useless despite the fact I can just hit enter and ignore the missing password. (pam_mount is configured optional).