pastebin - collaborative debugging tool
kpaste.kpaste.net RSS


Untitled
Posted by Anonymous on Sat 24th Aug 2019 00:57
raw | new post

  1. echo "kernel.randomize_va_space = 0" > /etc/sysctl.d/01-disable-aslr.conf
  2.  
  3. l1tf=off mds=off mitigations=off no_stf_barrier noexec=off noibpb noibrs nopti nospec_store_bypass_disable nospectre_v1 nospectre_v2
  4.  
  5. dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
  6. cryptsetup luksAddKey /dev/sda1 /crypto_keyfile.bin
  7. chmod 000 /crypto_keyfile.bin
  8.  
  9. Modify /etc/crypttab by changing
  10.  
  11. sda1_crypt UUID=xxxx.......... none luks,discard
  12.  
  13. to
  14.  
  15. sda1_crypt UUID=xxxx......... /crypto_keyfile.bin luks,discard,keyscript=/bin/cat
  16.  
  17. Create crypto_keyfile and place in /etc/initramfs-tools/hooks with
  18.  
  19. #!/bin/sh
  20. cp /crypto_keyfile.bin "${DESTDIR}"
  21.  
  22. Make the file executable and regenerate the ramdisk
  23.  
  24. chmod 755 /etc/initramfs-tools/hooks/crypto_keyfile
  25. update-initramfs -u -k all
  26.  
  27. Confirm that the keyfile has been inserted in the ramdisk
  28.  
  29. lsinitramfs $(ls /boot/initrd.img-*) | grep keyfile
  30.  
  31. /usr/bin/compton --backend glx --paint-on-overlay --vsync opengl-swc
  32.  
  33. /usr/share/lightdm/lightdm.conf.d/01_debian.conf
  34. [SeatDefaults]
  35. autologin-user=root
  36.  
  37. /etc/pam.d/lightdm-autologin
  38. #auth      required pam_succeed_if.so user != root quiet_success
  39.  
  40. /sbin/rmmod pcspkr
  41.  
  42. xinput --set-prop 9 'libinput Accel Profile Enabled' 0, 1
  43. xinput --set-prop 9 'libinput Accel Speed' 0.7
  44.  
  45. sed -i 's/geteuid/getppid/' /usr/bin/vlc
  46.  
  47. wget -O tor.tar.xz --no-check-certificate "https://www.torproject.org/dist/torbrowser/8.5.4/tor-browser-linux32-8.5.4_en-US.tar.xz"
  48. 41fbe8949332d203c98a293ee1e966e72fc8ad7dd3174a32f0777338e8d464ac

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at