I haven't broken my system in over 10 years, but I think did today. While trying to install the CHIRP ham radio programmer, I accidentally deleted all my groups except dialout.
I ran $sudo usermod -G dialout username instead of $sudo -aG dialout username. When I rebooted, the only group I am a member of is dialout which means I am unable to sudo for anything.
Is there any way to recover from this and reinstate my groups such as adm so I can perform root tasks or do I have to reinstall the system?
Laughter is expected and I'll even laugh with you if you can help me fix it without a complete reinstall of the system.
I ran $sudo usermod -G dialout username instead of $sudo -aG dialout username. When I rebooted, the only group I am a member of is dialout which means I am unable to sudo for anything.
Is there any way to recover from this and reinstate my groups such as adm so I can perform root tasks or do I have to reinstall the system?
Laughter is expected and I'll even laugh with you if you can help me fix it without a complete reinstall of the system.
Comment