From 82c14e4c8568d0e49f322259015477b74bedd052 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 26 May 2022 01:26:21 -0400 Subject: [PATCH] Update dom0.sh --- dom0.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dom0.sh b/dom0.sh index 7264bf0..e02b77f 100644 --- a/dom0.sh +++ b/dom0.sh @@ -15,3 +15,7 @@ echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment #Obviously replace vault-gpg with the actual GPG backend that you are using https://www.qubes-os.org/doc/split-gpg/ echo "emails vault-gpg allow" | sudo tee /etc/qubes-rpc/policy/qubes.Gpg echo "@anyvm @anyvm ask,default_target=vault-gpg" | sudo tee -a /etc/qubes-rpc/policy/qubes.Gpg + +#Disabling Passwordless sudo +echo "/usr/bin/echo 1" >/etc/qubes-rpc/qubes.VMAuth +echo "@anyvm dom0 ask,default_target=dom0" > /etc/qubes-rpc/policy/qubes.VMAuth