S. > "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] > --=20 Mario. --000000000000ad6f6a061b16916e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nice idea,but it does not work :

=
nano /home/marietto/.zshrc

# ~/.zshrc
# zs= h autocompletion for sudo and doas
zstyle ":completion:*:(sudo|su|d= oas):*" command-path /usr/local/bin /usr/local/sbin /usr/sbin /usr/bin= /bin /sbin /bhyve

nano doas.conf

permit nopass marietto as root cmd bhyve-lin
permit nopass mari= etto as root cmd bhyve-win

nano 10-Debi= an-Now_wine-tkg-vm10

doas /usr/sbin/./bhyve-li= n -S -c sockets=3D2,cores=3D2,threads=3D2 -m 8G -w -H -A \
-s 0,hostbrid= ge \
-s 1,ahci-hd,/mnt/zroot-133/bhyve/img/Linux/Debian-now-wine-tkg.img= ,bootindex=3D1 \
-s 11,hda,play=3D/dev/dsp,rec=3D/dev/dsp \
-s 13,vir= tio-net,tap10 \
-s 14,virtio-9p,sharename=3D/ \
-s 29,fbuf,tcp=3D0.0.0.0:5910,w=3D1600,h= =3D950,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/loca= l/share/uefi-firmware/BHYVE_UEFI_CODE.fd \
vm0:10 < /dev/null & s= leep 2 && vncviewer 0:10

=3D

doas: Operation not permitted

On Mon, Jun 17, 2024 at = 2:24=E2=80=AFPM Odhiambo Washington <odhiambo@gmail.com> wrote:

On Mon, Jun 17, 2024 at 2:19=E2=80=AFPM Mario Marietto <marietto2008@gmail.com>= ; wrote:
=20 =20 =20 =20 =20

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

-- <= br>
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 320= 0 0004/+254 7 2274 3223
=C2= =A0In=C2=A0an Internet failure c= ase, the #1 suspect is a constant: DNS.
"Oh, the cruft.",= =C2=A0egrep -v '^$|^.*#'=C2= =A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]<= /div>


--
Mario.
--000000000000ad6f6a061b16916e--