mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2025-07-24 14:15:15 -04:00
Add dom0 config for sudo prompts
This commit is contained in:
parent
7cbadc9835
commit
b3476a5ef8
2 changed files with 6 additions and 1 deletions
5
dom0.sh
5
dom0.sh
|
@ -26,6 +26,11 @@ sudo qubes-dom0-update anti-evil-maid qubes-ctap-dom0 qt5ct qt5-qtstyleplugins
|
|||
sudo sed -i 's/ --pcr 19//' /etc/anti-evil-maid.conf
|
||||
sudo sed -i 's/="/="--pcr 0 --pcr 1 --pcr 2 --pcr 3 --pcr 4 --pcr 10 /' /etc/anti-evil-maid.conf
|
||||
|
||||
# Configure sudo prompt for domUs
|
||||
echo "/usr/bin/echo 1" | sudo tee /etc/qubes-rpc/qubes.VMAuth
|
||||
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth
|
||||
sudo chmod +x /etc/qubes-rpc/qubes.VMAuth
|
||||
|
||||
# Theming
|
||||
|
||||
# After a reboot, run qt5ct and set the theme to gtk-2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue