mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-07-20 21:58:49 -04:00
Revise dom0 instructions for sudo prompt
This commit is contained in:
parent
bcd840c318
commit
1b9b0ce529
2 changed files with 20 additions and 10 deletions
|
@ -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
|
||||
|
||||
'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue