Revise dom0 instructions for sudo prompt

This commit is contained in:
Christopher Laprise 2023-05-01 13:28:02 -04:00
parent bcd840c318
commit 1b9b0ce529
No known key found for this signature in database
GPG key ID: 448568C8B281C952
2 changed files with 20 additions and 10 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash
# From https://github.com/tasket/Qubes-VM-hardening
# installer version 0.9.4
set -e
[ `id -u` -eq 0 ] || exit
@ -64,7 +65,8 @@ _EOF
Next.... Enable auth prompts in dom0 with the following commands:
[user@dom0 ~]$ sudo su -
[root@dom0 /]# echo "/usr/bin/echo 1" >/etc/qubes-rpc/qubes.VMAuth
[root@dom0 /]# echo "\$anyvm dom0 ask,default_target=dom0" \
[root@dom0 /]# chmod +x /etc/qubes-rpc/qubes.VMAuth
[root@dom0 /]# echo "@anyvm dom0 ask,default_target=dom0" \
>/etc/qubes-rpc/policy/qubes.VMAuth
'