mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-12-15 16:19:10 -05:00
Misc fixes, additions
Fix rescue mode, deployment. Add whitelist and sudo config.
This commit is contained in:
parent
96987b19e5
commit
ccddef2f44
6 changed files with 773 additions and 19 deletions
10
install
10
install
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue