This is very useful if you don’t want to use sudo.

In my case I changed the permissions of /etc/sudoers and I could no longer use sudo.

I had to change to root user and use chmod.

su - user

If you set root, you will have sudo permissions without typing sudo.