make group as primary ubuntu code example Example: ubuntu change primary group $ usermod -g pserver pserver