Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2024 22:35:48 +0000
From:      "Dave Cottlehuber" <dch@skunkwerks.at>
To:        "Mario Marietto" <marietto2008@gmail.com>
Cc:        "Odhiambo Washington" <odhiambo@gmail.com>, freebsd-virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: How to launch a bhyve vm as normal user,without being root
Message-ID:  <2245d71d-33a0-49ee-9648-e3e6b9a96ae0@app.fastmail.com>
In-Reply-To:  <CA%2B1FSighjAkOAtzyX3HBy4h0ZnTVckjF9adnWMpAR3m=xW0dUA@mail.gmail.com>
References:   <CA%2B1FSiimo=-0s80QeGMuLnJAzxi53-V6s303YuW36UkYnqfB-g@mail.gmail.com> <CAAdA2WPrtG_VaLuE8UfBwxanyfNzgLqeBCvpJMvRETdcUSmMEg@mail.gmail.com> <CA%2B1FSijLiq0WMdCvJfQC%2BvtBxXc6iSMD6WQAMavGpg%2BsmCuTFg@mail.gmail.com> <86a551c1-7f10-450d-a282-b33f959ed93e@app.fastmail.com> <CA%2B1FSighjAkOAtzyX3HBy4h0ZnTVckjF9adnWMpAR3m=xW0dUA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2245d71d-33a0-49ee-9648-e3e6b9a96ae0>