Linux newgrp command
The Linux newgrp command is used to log into another group.
The newgrp command is similar to the login command: it logs into the system again with the same account and a different group name. To use newgrp to switch groups, you must be a user of that group; otherwise you will not be able to log into the specified group. For a single user to belong to multiple groups at the same time, the alternate user setting is required. If no group name is specified, newgrp logs into the default group for that user name.
Syntax
newgrp [群组名称]
Example
Change groups
# newgrp root
Linux Command Reference