mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-03-01 11:21:18 -05:00
12 lines
273 B
Bash
12 lines
273 B
Bash
#!/bin/sh
|
|
[ `id -u` -eq 0 ] || exit
|
|
|
|
cp vm-sudo-protect.sh /usr/lib/qubes/init
|
|
chmod +x /usr/lib/qubes/init/vm-sudo-protect.sh
|
|
cp vm-sudo-protect.service /lib/systemd/system
|
|
systemctl daemon-reload
|
|
systemctl enable vm-sudo-protect.service
|
|
|
|
echo vm-sudo-protect installed!
|
|
|