Machine Learning with TurtleBot3

You must be logged in to reply to this topic.

  • Toubleshooting: 'Username' is not in the sudoers file error
  • #88795

    Ruyel Rodrigues
    Participant

    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:

    1. While in root access type ‘$ usermod -aG sudo [Username]’ .

    2. Enter password if need.

    3. Check with ‘$ groups [Username]’ if user has sudo.

    4. Restart VM and continue using sudo as intended.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.