Add user to Sudoers group
First, add the user to the group of sudo by replacing the “username” with the actual username in the below command:
sudo usermod -aG sudo [username]
To verify the successful execution of the above command, list the groups in which “vboxuser” is a part:
groups vboxuser
Bibliography: https://itslinuxfoss.com/add-user-sudoers-debian-12/
Last modified: 29 January 2025