mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-03-02 11:49:14 -05:00
12 lines
273 B
Plaintext
12 lines
273 B
Plaintext
![]() |
#!/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!
|
||
|
|