[Username] is not in the sudoers file and won't add

@Too_Dumb_For_This

Did you say you could get to a root shell with su?

If positive, get a root shell and then do:

sudo nano /etc/sudoers.d/wolf

Put in:

wolf ALL=(ALL) ALL

Press Ctrl-O, Enter, Ctrl-X to save the file and exit nano.

Press Ctrl-D to exit the root shell.

Now try your sudo.

3 Likes