Date: Mon, 17 Jun 2024 15:23:22 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Mario Marietto <marietto2008@gmail.com> Cc: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: How to launch a bhyve vm as normal user,without being root Message-ID: <CAAdA2WPrtG_VaLuE8UfBwxanyfNzgLqeBCvpJMvRETdcUSmMEg@mail.gmail.com> In-Reply-To: <CA%2B1FSiimo=-0s80QeGMuLnJAzxi53-V6s303YuW36UkYnqfB-g@mail.gmail.com> References: <CA%2B1FSiimo=-0s80QeGMuLnJAzxi53-V6s303YuW36UkYnqfB-g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000039e17f061b150adb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 17, 2024 at 2:19=E2=80=AFPM Mario Marietto <marietto2008@gmail.= com> wrote: > Hello. > > someone of you has been able to launch a bhyve vm as user using doas ? > > I'm trying but without success. First of all I created my doas.conf : > > > nano /usr/local/etc/doas.conf > > permit nopass :marietto cmd bhyve > permit nopass :marietto cmd vm-create > > permit nopass marietto as root cmd bhyve --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --00000000000039e17f061b150adb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jun 17, 2024 at 2:19=E2=80=AF= PM Mario Marietto <<a href=3D"mailto:marietto2008@gmail.com">marietto200= 8@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><div dir=3D"ltr"> =20 <span> =20 </span> =20 =20 =20 <div> <div> <div id=3D"m_-8944768810968800024gmail-t3_1dgm9w5-post-rtjson-content= "> <p> Hello. </p><p> someone of you has been able to launch a bhyve vm as user using doas ? </p><p> I'm trying but without success. First of all I created my doas.conf= :</p><p><br></p><p></p><pre>nano /usr/local/etc/doas.conf permit nopass :marietto cmd bhyve permit nopass :marietto cmd vm-create<br></pre></div></div></div></div></bl= ockquote><div></div></div><div><br></div>permit nopass marietto as root cmd= bhyve<br><div><br></div><span class=3D"gmail_signature_prefix">-- </span><= br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"= ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 320= 0 0004/+254 7 2274 3223</div><div><span style=3D"color:rgb(34,34,34)">=C2= =A0In=C2=A0</span><span style=3D"color:rgb(34,34,34)">an Internet failure c= ase, the #1 suspect is a constant: DNS.</span><br>"<span style=3D"font= -size:12.8px">Oh, the cruft.</span><span style=3D"font-size:12.8px">",= =C2=A0</span><span style=3D"font-size:12.8px">egrep -v '^$|^.*#'=C2= =A0</span><span style=3D"background-color:rgb(34,34,34);color:rgb(238,238,2= 38);font-family:"Lucida Console",Consolas,"Courier New"= ,monospace;font-size:13.6px">=C2=AF\_(=E3=83=84)_/=C2=AF</span><span style= =3D"font-size:12.8px">=C2=A0:-)</span></div><div><span style=3D"font-size:1= 2.8px">[How to ask smart questions:=C2=A0</span><span style=3D"font-size:12= .8px"><a href=3D"http://www.catb.org/~esr/faqs/smart-questions.html" target= =3D"_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span><= /div></div></div></div></div> --00000000000039e17f061b150adb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WPrtG_VaLuE8UfBwxanyfNzgLqeBCvpJMvRETdcUSmMEg>