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