User Tools

Site Tools


computing:encryption

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
computing:encryption [2020/12/27 02:25] oemb1905computing:encryption [2024/01/29 18:01] oemb1905
Line 1: Line 1:
- 
 ------------------------------------------- -------------------------------------------
   * **encryption**    * **encryption** 
Line 51: Line 50:
   </dev/mapper/sdb1_crypt /media/vault     xfs    defaults      0     2>   </dev/mapper/sdb1_crypt /media/vault     xfs    defaults      0     2>
      
-Okayreboot and test If it failsboot into recovery mode and comment out the fstab entry until you get everything set up properly.+Alternatelyyou may want to let pam_mount manage the crypt mounting and/or map the crypt to your home partition. If you do thismake sure the crypt password matches your user login password. 
 + 
 +  rsync -av /home /backup 
 +  umount /home/ 
 +  cryptsetup luksFormat /dev/sdaX 
 +  cryptsetup luksOpen /dev/sdaX home 
 +  mkfs.xfs -L home /dev/mapper/home 
 +  mount /dev/mapper/home /home/ 
 +  rsync -av /backup/home/ /home 
 +  sudo nano /etc/security/pam_mount.conf.xml 
 +  <volume user="username" fstype="crypt" path="/dev/disk/by-uuid/21sdsd" mountpoint="/home" options="noatime,exec,fsck,nodev,nosuid"/> 
 +   
 +Remove the error "HXproc_run_async: pmvarrun: No such file or directory" by declaring /usr/sbin path for regular users. 
 + 
 +  sudo nano /etc/security/pam_mount.conf.xml 
 +  <pmvarrun>/usr/sbin/pmvarrun -u %(USER)</pmvarrun>
  
-  <volume user="sexa" fstype="crypt" path="/dev/disk/by-uuid/21sdsd" mountpoint="/home" options="noatime,exec,fsck,nodev,nosuid"/> 
  
- --- //[[jonathan@haacksnetworking.com|oemb1905]] 2020/12/26 19:20//+ --- //[[jonathan@haacksnetworking.org|oemb1905]] 2024/01/29 17:55//
computing/encryption.txt · Last modified: 2024/01/29 18:20 by oemb1905