#!/bin/bash

agroups=`id -nG $1|sed 's/ /,/g'`
usermod -G $agroups,$2 $1

