📎 AI Summary: The thread discusses methods to remove a user from a specific group in Linux. The original poster asks for guidance, and responders suggest using commands like "gpasswd -d user group" or editing the "/etc/group" file; one also mentions "usermod" with root privileges. Overall, the conversation provides practical command-line solutions for managing user group memberships.
usermod -G group1,group2,group3 user this without the -a will drop any groups you don't specify, or you can just go edit the /etc/group file and reboot or you can use gpasswd -d user group