You must be logged in to reply to this topic.
- Toubleshooting: 'Username' is not in the sudoers file error
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
You must be logged in to reply to this topic.
Fresh installing Ubuntu in Oracle VM VirtualBox does not allow primary user to have sudo access by default. The following is how to troubleshoot such issue for future reference.
In the terminal, access root using ‘$ su -‘ and check user’s permission using ‘$ groups [Username]’. If username does not have sudo access, proceed:
While in root access type ‘$ usermod -aG sudo [Username]’ .
Enter password if need.
Check with ‘$ groups [Username]’ if user has sudo.
Restart VM and continue using sudo as intended.
You must be logged in to reply to this topic.
Our goal is to make the OpenLab accessible for all users.