git: 1909de33de - main - handbook/wine: Add missing command line example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Aug 2022 09:29:18 UTC
The branch main has been updated by blackend:
URL: https://cgit.FreeBSD.org/doc/commit/?id=1909de33defc7170cd9855510f8a9c33f892f2c3
commit 1909de33defc7170cd9855510f8a9c33f892f2c3
Author: Marc Fonvieille <blackend@FreeBSD.org>
AuthorDate: 2022-08-21 09:26:06 +0000
Commit: Marc Fonvieille <blackend@FreeBSD.org>
CommitDate: 2022-08-21 09:26:06 +0000
handbook/wine: Add missing command line example
Reported by: Loïc Pasquale <dttdogers@gmail.com>
---
documentation/content/en/books/handbook/wine/_index.adoc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/documentation/content/en/books/handbook/wine/_index.adoc b/documentation/content/en/books/handbook/wine/_index.adoc
index 7b1aff26a2..49976f29eb 100644
--- a/documentation/content/en/books/handbook/wine/_index.adoc
+++ b/documentation/content/en/books/handbook/wine/_index.adoc
@@ -765,6 +765,11 @@ Next provide access to the display back to the _windows_ user, as whom the WINE
This should be added to the list of commands run either at login or when the default graphical environment starts.
Once all the above are complete, a user configured as one of the `WINDOW_USERS` in [.filename]#sudoers# can run programs using the shared prefix with the following command:
+[source,shell]
+....
+% sudo -u windows wine program.exe
+....
+
it is worth noting that multiple users accessing this shared environment at the same time is still risky.
However, consider also that the shared environment can itself contain multiple prefixes.
In this way an administrator can create a tested and verified set of programs, each with its own prefix.