The sudoers file in Linux controls the sudo access permissions for users. It determines which users are allowed to run commands with superuser (root) privileges. To configure sudo access, you can edit the sudoers file using the visudo command.
For example :
sudo visudo?
Now add this line anywhere in the file. For instance, if we want to grant a user full sudo access.
user_name ALL=(ALL) ALL?