pmt-ofl

PAM module that can mount volumes for a user session

Install

All systems
curl cmd.cat/pmt-ofl.sh
Debian Debian
apt-get install libpam-mount
Ubuntu
apt-get install libpam-mount
image/svg+xml Kali Linux
apt-get install libpam-mount
Windows (WSL2)
sudo apt-get update sudo apt-get install libpam-mount
Raspbian
apt-get install libpam-mount

libpam-mount

PAM module that can mount volumes for a user session

This module is aimed at environments with central file servers that a user wishes to mount on login and unmount on logout, such as (semi-)diskless stations where many users can logon. The module also supports mounting local filesystems of any kind the normal mount utility supports, with extra code to make sure certain volumes are set up properly because often they need more than just a mount call, such as encrypted volumes. This includes SMB/CIFS, FUSE, dm-crypt and LUKS.