mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
Edit wording of qrexec-client example
This commit is contained in:
parent
929a8ee5ea
commit
8e12613108
@ -42,14 +42,12 @@ Once this channel is established, stdin/stdout/stderr from the VMprocess is pass
|
|||||||
![qrexec basics diagram](/attachment/wiki/qrexec3/qrexec3-basics.png)
|
![qrexec basics diagram](/attachment/wiki/qrexec3/qrexec3-basics.png)
|
||||||
|
|
||||||
The `qrexec-client` command is used to make connections to VMs from dom0.
|
The `qrexec-client` command is used to make connections to VMs from dom0.
|
||||||
For example, the following command
|
For example, the following command creates an empty file called `hello-world.txt` in the home folder of `someVM`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ qrexec-client -e -d someVM user:'touch hello-world.txt'
|
$ qrexec-client -e -d someVM user:'touch hello-world.txt'
|
||||||
```
|
```
|
||||||
|
|
||||||
creates an empty file called `hello-world.txt` in the home folder of `someVM`.
|
|
||||||
|
|
||||||
The string before the colon specifies what user to run the command as.
|
The string before the colon specifies what user to run the command as.
|
||||||
The `-e` flag tells `qrexec-client` to exit immediately after sending the execution request and receiving a status code from `qrexec-agent` (whether the process creation succeeded).
|
The `-e` flag tells `qrexec-client` to exit immediately after sending the execution request and receiving a status code from `qrexec-agent` (whether the process creation succeeded).
|
||||||
With this option, no further data is passed between the domains.
|
With this option, no further data is passed between the domains.
|
||||||
|
Loading…
Reference in New Issue
Block a user