Linux – Where is the sudoers file on qnap

linuxqnap

I'm setting up a small QNAP for our department. I created an account for myself, and another one for the other admin – we don't want to use the main "admin" account unless necessary.
I tried to switch to root prompt and this happens:

[Misiak@myQNAP ~]$ sudo -i
Password:
Misiak is not in the sudoers file.  This incident will be reported.

There is no sudoers file in /etc/sudoers or /usr/local/etc/sudoers
None of the following groups exist when I try to use usermod -aG [group] [username]: sudo, wheel, operators.

What do I need to do? I'm completely new to this.

Best Answer

For firmware 4.3.3, the sudoers file can be found under /usr/etc/

Related Question