The sudoers file defines which users/groups can run commands with elevated privileges, what commands they’re allowed to run, and as which users. It enforces security rules for sudo, including restrictions, defaults, and logging behavior. It is typically located at /etc/sudoers (and sometimes extended via /etc/sudoers.d/). to make a user gain superuser privilige do the following steps: ]$ sudo visudo go down until you reach the commands section and press i to get into insert mode type: username ALL=(ALL) ALL