

I’m not sure exactly what causes this, but you can work around it as long as you can actually run commands as root (i.e. using sudo
) in the terminal.
The command to add a new user is adduser
.
The command to add a user to the administrators group (i.e. give them the ability to use sudo
) is usermod -aG wheel
.
These commands should be run as root by prepending sudo
.
If you know the root password, then you can switch to the account called
root
using thesu root
command.In Linux there is always a user called
root
, which is the only account allowed to perform most system management tasks. Thesudo
command just executes a commend asroot
. Most of the time you don’t need to actually sign into theroot
account, just usesudo
, but you can actually sign into it in the terminal as it is a real bona fide user account.The sudoers file is located at
/etc/sudoers
. Do keep in mind that this file should not be edited directly. You can use thecat
command which will print the content of a file to the terminal. So trycat /etc/sudoers
.