- Install
VeraCrypt- On Ubuntu:
sudo add-apt-repository ppa:unit193/encryption
- On Ubuntu:
- Install
whoisandpam_mountpackages - If VeraCrypt has hidden drive
- Make sure that the outer filesystem is
ext4. The hidden filesystem can bebtrfsorext4 - in
/etc/pam.d/common-auth- Change sucess from 1 to 2 for
pam_unix.so - Add the following line below
pam_unix.soauth [success=2 default=ignore] pam_pwdfile.so pwdfile=[path-to-pwdfile]
- Generate the hash of the hidden password using
mkpasswd -m SHA-512and save it to thepwdfile[username]:[generated hash]
- Change sucess from 1 to 2 for
- Make sure that the outer filesystem is
- Update
/etc/security/pam_mount.conf.xmlwith the correct[username]and[path-to-VeraCrupt-drive].- May need to additional lines if there are multiple users with different VeraCrypt drives
incognitte/libpam-veracrypt-mount
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|