Page tree
Skip to end of metadata
Go to start of metadata


if `groups username` shows many groups, like `username`,`group1',`group2`
but you want group2 to be the primary group, use this

To assign a primary group to an user:

$ usermod -g group2 username
  • No labels
Write a comment…