Virtualbox run under non root (normal user) for example "vboxuser" ?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
CpServiceSpb
Posts: 5
Joined: 21. Nov 2019, 23:55

Virtualbox run under non root (normal user) for example "vboxuser" ?

Post by CpServiceSpb »

I installed VirtualBox 6.1.8 on Ubuntu 18.04 from debs downloaded from VirtualBox site.
User "vboxuser" as group "vboxusers" was created, also vboxuser is at "vboxusers" group.
But all virtualbox daemons start under "root" anyway.
Here is ps aux output.

Code: Select all

root     13992  0.0  0.3 907276 12372 ?       Sl   May9 /usr/lib/virtualbox/vboxwebsrv --background -H 127.0.0.1 -p 18083 -F /var/log/vboxweb/vboxweb.log
root     13994  0.0  0.1 256156  7596 ?        S    May9  /usr/lib/virtualbox/VBoxXPCOMIPCD
root     14001  0.0  0.3 825872 13412 ?       Sl   May9 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
What and in how way is to change to get VirtualBox, including mentioned daemos run under "vboxuser" ?
And are there somewhere init.d start/restart/stop scripts ?
Post Reply