From nobody Mon Jun 17 22:35:48 2024 X-Original-To: freebsd-virtualization@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 4W34VM5Hclz5M3HR for ; Mon, 17 Jun 2024 22:36:11 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh6-smtp.messagingengine.com (fhigh6-smtp.messagingengine.com [103.168.172.157]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4W34VM2mPMz4bnN for ; Mon, 17 Jun 2024 22:36:10 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A20F01140228; Mon, 17 Jun 2024 18:36:09 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Mon, 17 Jun 2024 18:36:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1718663769; x= 1718750169; bh=i3L8P9tk5H5qWhczTMvNnY/2yAkY0T2xn3o1Zx/L+7w=; b=F ombS860ouNIsFPMzeTik0b3ldCDNzYjA1IJlYcZGUa4WjsPc+WFKUcVKp7Df30XH MtehEl7SWVRDf6B9voEwVorEJumhme90xHwnTHHbIxbtNFoYKviW0kdkGSEjoHif +UTAYkXfpyMcT2r7q2GoOyA6XU6JJzEkvDGQ4+0ENN2NsGzo0+VOgNlBRSyo5Dqo qIf7FzaSw7rbQPjuC78X1sdBnC8tfEn//s0uLFCrVrVdpSdx30uIQPX2V6A8ssju kg9NNlP1TYz+bIWaZHoQeNn6joyGPuwCGkb6m0h2+yyGXF+7axAGLxT2wVv1gtuc 2PZna+eUSuvrfqd+gDjfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718663769; x=1718750169; bh=i3L8P9tk5H5qWhczTMvNnY/2yAkY 0T2xn3o1Zx/L+7w=; b=NYtOrg5gcS2ZJLxzcDSOmJStjk07EPuD3QMGt3IyD1vc WxdZD/T4ZWrO+lGZA9XzaP42ajJnbBGdSCQOR+HUXl61Z7btkTNJtq7Xyzetcede Bpkl16kuIqQvwzXn1XjuB5be5gF18/2Girie4aSC6OYpyE9+QjMbH9+GONqSO77e TFJX2i84SIory/wIvW/NRtb0R01GYFtEe92K0UcRre7wo0zZfkZTJmTMwLG8sQIw joTUE9Dw1DYQYI4TXz75f1vDcIIFRqTDyvMlEuIGbaiTXx7FvNuhKg1yespCF5Cw C4up2A2/Ty7rljhXU3zwXx9uVzZNTcsJf4ROzXslZQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedviedguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfffgr vhgvucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrghtqe enucggtffrrghtthgvrhhnpedttdetuddvffeuvdeihfejtdelgfeglefhleeitefghedt udeigedutdektdduhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegutghhsehskhhunhhkfigvrhhkshdrrght X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2145836A0076; Mon, 17 Jun 2024 18:36:09 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-522-ga39cca1d5-fm-20240610.002-ga39cca1d List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Message-Id: <2245d71d-33a0-49ee-9648-e3e6b9a96ae0@app.fastmail.com> In-Reply-To: References: <86a551c1-7f10-450d-a282-b33f959ed93e@app.fastmail.com> Date: Mon, 17 Jun 2024 22:35:48 +0000 From: "Dave Cottlehuber" To: "Mario Marietto" Cc: "Odhiambo Washington" , freebsd-virtualization Subject: Re: How to launch a bhyve vm as normal user,without being root Content-Type: text/plain X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US] X-Rspamd-Queue-Id: 4W34VM2mPMz4bnN On Mon, 17 Jun 2024, at 17:39, Mario Marietto wrote: > [marietto@marietto /bhyve]==> sudo cp 12-Win-11-vm12 /usr/sbin this filepath is /usr/sbin/12-Win-11-vm12 > permit nopass :wheel as root cmd /usr/sbin/bhyve-win this file path is /usr/sbin/bhyve-win these things need to be identical, like in the hallo example. > permit nopass :wheel as root cmd /usr/sbin/bhyve-win should be permit nopass :wheel as root cmd /usr/sbin/12-Win-11-vm12 A+ Dave