Remove A User From the specific Group In Linux

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