Skip to content

incognitte/libpam-veracrypt-mount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libpam-veracrypt-mount

  1. Install VeraCrypt
    • On Ubuntu: sudo add-apt-repository ppa:unit193/encryption
  2. Install whois and pam_mount packages
  3. If VeraCrypt has hidden drive
    • Make sure that the outer filesystem is ext4. The hidden filesystem can be btrfs or ext4
    • in /etc/pam.d/common-auth
      • Change sucess from 1 to 2 for pam_unix.so
      • Add the following line below pam_unix.so
        • auth [success=2 default=ignore] pam_pwdfile.so pwdfile=[path-to-pwdfile]
      • Generate the hash of the hidden password using mkpasswd -m SHA-512 and save it to the pwdfile
        • [username]:[generated hash]
  4. Update /etc/security/pam_mount.conf.xml with the correct [username] and [path-to-VeraCrupt-drive].
    • May need to additional lines if there are multiple users with different VeraCrypt drives

About

PAM Module to mount a VeraCrypt encrypted drive upon login

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages