ubuntu change primary group of user code example Example: ubuntu change primary group $ usermod -g pserver pserver