I made a mistake/typo/whateveryouwannacallit while adding my user to a group, as root.
usermod -G <groupname> mirdarthos
usermod -aG <groupname> mirdarthos
Now, I think I’ve restored everything as it should be. At least, I can work and use my computer without any poroblems. But I just want to make sure and be certain about it.
So, my question is whether there is any command to check if a user belongs to all the default groups, and add it to those that he/she/it isn’t a member of?
Alternatively, can you please post a list of the default user groups, so that I can manually double check them?