Misc fixes, additions

Fix rescue mode, deployment. Add whitelist and sudo config.
This commit is contained in:
Christopher Laprise 2018-04-12 15:24:46 -04:00
parent 96987b19e5
commit ccddef2f44
No known key found for this signature in database
GPG key ID: 448568C8B281C952
6 changed files with 773 additions and 19 deletions

10
install
View file

@ -1,4 +1,6 @@
#!/bin/sh
#!/bin/bash
# From https://github.com/tasket/Qubes-VM-hardening
set -e
[ `id -u` -eq 0 ] || exit
@ -16,6 +18,8 @@ echo "Adding defaults in /etc/default/vms..."
# Careful... ownership & mode are not preserved here!
cp -rnv default/vms/* /etc/default/vms
echo
echo "vm-boot-protect installed!"
echo -e "\nvm-boot-protect installed!\n"
bash ./configure-sudo-prompt
exit 0