I want to use the sudo command but whenever I type it I see a message that says void is not in the sudoers file, this incident will be reported. I tried finding a way to fix it, and the told me to type su root then follow the next steps, but when I type su root it says authentication failure No problem, lets just fix that right? Well then they tell me to type in sudo which I cant use so I need a different way of solving this problem, would you mind helping me out?
Asked
Active
Viewed 2,160 times
1 Answers
0
It's not enough to install the sudo program. You must have root permissions (meaning you have to be the admin user) to grant your user the required permissions to use sudo.
Use the visudo command to grant yourself the permissions (this will open vi text editor and has example lines you can just copy paste, type :wq and Enter to save & exit) or add the user to "wheel" group with usermod -aG wheel void as the root user.