6816 shaares
Step 1: Add the User to the Sudo Group
First, add the user to the group of sudo by replacing the “vboxuser” with the actual username in the below command:
# sudo usermod -aG sudo [username]
Step 2: Verify the Addition of the User to sudo Group
To verify the successful execution of the above command, list the groups in which “vboxuser” is a part:
# groups vboxuser