Re: How to launch a bhyve vm as normal user,without being root

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Mon, 17 Jun 2024 22:35:48 UTC
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