How to rejoin “Wheel” group to get back Sudo privileges?

So the issue is you want to execute usermod -aG wheel username, but to do that you need to be in the wheel group or have the root account available.

To break that circle, you can go to rescue target (a.k.a. single user mode) and add the groups there as root. While you’re at it you will probably want to add the other default groups as well.
groups=1000(username),4(adm),10(wheel),11(cdrom),18(dialout),39(video),63(audio)

How to get into single user mode

1 Like