Remove A User From the specific Group In Linux

Neemobeer

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

Back
Top