📎 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.

Gabriel Turqos

Active Member
Joined
Mar 11, 2019
Messages
17
Thread Author #1
How can I remove a specific user from the group?
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
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