Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
{nav icon=home, name=Main Page >
icon=wrench, name=Troubleshooting >
Cannot sudo runb command}
Add your username to sudoers list
---
If you get the following error when trying to sudo run a command:
> <USERNAME> is not in the sudoers file. This incident will be reported
you need to add your username to //sudo// group:
Open Terminal app and log into root session with:
{icon terminal}`su`
(type the root password) then run the command:
{icon terminal}`usermod -a -G sudo username`
where //**username**// is your login name (username). Log out and then log back in and now you can run commands using //sudo//.
{nav icon=home, name=Main Page >
icon=wrench, name=Troubleshooting >
Cannot sudo run command}
Add your username to sudoers list
---
If you get the following error when trying to sudo run a command:
> <USERNAME> is not in the sudoers file. This incident will be reported
you need to add your username to //sudo// group:
Open Terminal app and log into root session with:
{icon terminal}`su`
(type the root password) then run the command:
{icon terminal}`usermod -a -G sudo username`
where //**username**// is your login name (username). Log out and then log back in and now you can run commands using //sudo//.
{nav icon=home, name=Main Page >
icon=wrench, name=Troubleshooting >
Cannot sudo runb command}
Add your username to sudoers list
---
If you get the following error when trying to sudo run a command:
> <USERNAME> is not in the sudoers file. This incident will be reported
you need to add your username to //sudo// group:
Open Terminal app and log into root session with:
{icon terminal}`su`
(type the root password) then run the command:
{icon terminal}`usermod -a -G sudo username`
where //**username**// is your login name (username). Log out and then log back in and now you can run commands using //sudo//.