mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-12-17 17:14:29 -05:00
feat(configure-sudo-prompt): use new qrexec policy format in example cmd
This commit is contained in:
parent
b85fac0282
commit
d1d57b29bd
1 changed files with 3 additions and 2 deletions
|
|
@ -66,8 +66,9 @@ 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 /]# chmod +x /etc/qubes-rpc/qubes.VMAuth
|
||||
[root@dom0 /]# echo "@anyvm dom0 ask,default_target=dom0" \
|
||||
>/etc/qubes-rpc/policy/qubes.VMAuth
|
||||
[root@dom0 /]# echo "qubes.VMAuth * @anyvm dom0 ask,default_target=dom0" \
|
||||
>> /etc/qubes/policy.d/10-user.policy
|
||||
|
||||
Optionally replacing 10-user.policy with any other policy file of your choice.
|
||||
'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue