usermod -a -G group1,group2 username
gpasswd -M userA,userB,userC mygroup #if gpasswd is available on system.