Can the pam_mount module run after `su` (switch user)?

Viewed 23

User alice has an encrypted home directory which was set up using these instructions. If alice logs in via a session manager or ssh the encrypted volume is correctly mounted, but if another user attempts to switch users (su alice) then the volume is not mounted/the home directory remains empty. Is there a way for pam_mount to be aware of this kind of "log-in" ?

0 Answers
Related