tldr/pages/linux/newgrp.md

12 lines
197 B
Markdown
Raw Normal View History

# newgrp
> Switch primary group membership.
2019-04-29 21:52:33 +01:00
- Change user's primary group membership:
`newgrp {{group_name}}`
- Reset primary group membership to user's default group in /etc/passwd:
`newgrp`