Uhy can you add a user to a group with usermod, but you cant remove a user from a group with usermod? Am I wrong?
I got a user I want to remove from the sudo group. I put this user in with usermod, now I have to use deluser to remove the user from the group?
On a test box, I ran sudo usermod -G "" user (bad advice form some thread I read) which removed all the groups, glad I didn't run that on the server.
From the man page, I see a -W option that mentions removing a list of gids. Are gids groups?