You are not logged in.
I have pam_mount installed to mount my luks /home when I log in. It works. The problem is that /home stays mounted when I log out. If I log in as root (no maggie user is on the system), /home is still mounted. How can I change this behavior?
/etc/pam.d/system-auth
#%PAM-1.0
auth required pam_unix.so try_first_pass nullok
auth optional pam_mount.so
auth optional pam_permit.so
auth required pam_env.so
account required pam_unix.so
account optional pam_permit.so
account required pam_time.so
password required pam_unix.so try_first_pass nullok sha512 shadow
password optional pam_permit.so
session optional pam_mount.so
session required pam_limits.so
session required pam_unix.so
session optional pam_permit.so
/etc/security/pam_mount.conf.xml
...
<lclmount>mount -t%(FSTYPE) %(VOLUME) %(MNTPT) "%(if %(OPTIONS),-o%(OPTIONS))"</lclmount>
<volume user="maggie" fstype="crypt" path="/dev/sda2" mountpoint="/home" options="fsck,noatime" />
<mkmountpoint enable="1" remove="true" />
</pam_mount>
Last edited by maggie (2015-09-13 08:53:57)
Offline
Now that you mention it, mine does not umount either... My config files are more or less identical to your files. Have you tried posting to the pam_mount ML?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline