How to access USB devices from within VirtualBox virtual machines

I constantly forget to add myself to the proper user group to access USB devices from within VirtualBox virtual machines, so I need to write it down.

First step

Add currently logged in user to the vboxusers group.

$ sudo adduser $(whoami) vboxusers

Second step

Log in again to apply changes.

References

Milosz Galazka's Picture

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu