Skip to content

Commit

Permalink
Remove -n from echo
Browse files Browse the repository at this point in the history
  • Loading branch information
tasket committed Jan 11, 2018
1 parent ca170fd commit d63cc59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/vm-sudo.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ this for extra security.**

1. Adding Dom0 "VMAuth" service:

[root@dom0 /]# echo -n "/usr/bin/echo 1" >/etc/qubes-rpc/qubes.VMAuth
[root@dom0 /]# echo -n "\$anyvm dom0 ask,default_target=dom0" \
[root@dom0 /]# echo "/usr/bin/echo 1" >/etc/qubes-rpc/qubes.VMAuth
[root@dom0 /]# echo "\$anyvm dom0 ask,default_target=dom0" \
>/etc/qubes-rpc/policy/qubes.VMAuth

(Note: any VMs you would like still to have password-less root access (e.g. TemplateVMs) can be specified in the second file with "\<vmname\> dom0 allow")
Expand Down

0 comments on commit d63cc59

Please sign in to comment.