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