#add the user to the supplemental group(s)
usermod -a -G group user
#Change existing user primary group to www:
usermod -g www user
#add the user to the supplemental group(s)
usermod -a -G group user
#Change existing user primary group to www:
usermod -g www user