From nobody Sun Aug 21 09:29:18 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M9VYq1j84z4ZKPW for ; Sun, 21 Aug 2022 09:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M9VYq18kWz3m51; Sun, 21 Aug 2022 09:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661074159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QEo2iS2YgSM5/Bpo1LGe+MfJVhohsPxN/0psZuABCSI=; b=CdM4iYf8izqUcv5D2koJg4FE9KSQmWEa1QMMe6NBRMEU1oYWL1wRqNMS5f6U7Ntg6GKm1j UVRA3Qg4cNW/VeGlHiOktTf4mGlvji56lLWokDBsANJ2gb/h5IfGv7OOBNq2VVn4IuNjkm SAXWzqOCLyTFafnz43Gpkd/qvBWBy3oIscYtPqnF4prsJMNDs7bKFpCvlshWDo+APOuvfS lI8YDVTrdkBEqYn1Wa/i9RsEnKcsNJrexPPfQVxFQ4JAlU/RCjlZ56GLFzkl6w24A+B61+ sWqY/gLddi0B1kvC5/O+8N7s+UmQHGbw1S4b8m+SjzVLHLgbFytSXcaWZtX5Lw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M9VYp74pxz15ZZ; Sun, 21 Aug 2022 09:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27L9TIvi034352; Sun, 21 Aug 2022 09:29:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27L9TIWG034351; Sun, 21 Aug 2022 09:29:18 GMT (envelope-from git) Date: Sun, 21 Aug 2022 09:29:18 GMT Message-Id: <202208210929.27L9TIWG034351@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Marc Fonvieille Subject: git: 1909de33de - main - handbook/wine: Add missing command line example List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: blackend X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1909de33defc7170cd9855510f8a9c33f892f2c3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661074159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QEo2iS2YgSM5/Bpo1LGe+MfJVhohsPxN/0psZuABCSI=; b=HW8mF8fb1CbZ/YiLey6FEYQav2PNlimH/aZlc4FPOr9/t7xLqaxWo72JKgp1m+A/vUP+2U cb83OeOxg5TQBNwsyoHxmXAiWTMAD9rYo2J5Vb7vpJ+nu1RUThbBs12YjTNocoYyIK4yYl DpayjBNb7ByN7+bP0nTGFZePSFp/R2XJH6ZCkrCHb00K5u6RU+bOetRcdeMkNGE13/5dvQ KISedQ2ofV+gBLs2bTxCTqzWOP26TSgZCJK7CtGcEeHb5FvNggPBUcBnOk7gvCBKUFoLrS Gl3wADQt6cejaUtAEBiv8XEoaZYPdZG0FgXL0OaBoyDXgUrD7Mh7H6/i1eEr5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661074159; a=rsa-sha256; cv=none; b=E1ZtSSo5hgDRx9ZN7RAqfmUoRtOQ2GS99QtfTKATRZP+Q5MsTXCMX4mKRnliP7cLgYqVPN E161mZQk91KVJ4KsnFYH6F+kE49r2YRoVlvU9JRgosmnxAw+l63BhmrMi7d4+Kt0R4RBe9 GvvjdSrzpkxeGj4Yp8JR2s5S8xhmjZCkoMMvoeaRQQM5WVrc48y20tNH+q1pZStDz12Sqk FmcniVwN88YWDNjxhvC3224IsuJ08MqYIXaYE/zVK9wvHhlavUtPEuoy3oN46FWGvVWCJh tO+E7o5lcQuhRzXn+yne+EhowZvQtztrq0rZZUh9pkjWNfaKx/YBnWS1/+pmuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by blackend: URL: https://cgit.FreeBSD.org/doc/commit/?id=1909de33defc7170cd9855510f8a9c33f892f2c3 commit 1909de33defc7170cd9855510f8a9c33f892f2c3 Author: Marc Fonvieille AuthorDate: 2022-08-21 09:26:06 +0000 Commit: Marc Fonvieille CommitDate: 2022-08-21 09:26:06 +0000 handbook/wine: Add missing command line example Reported by: Loïc Pasquale --- 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.