sg

newgrp - log in to a new group

The newgrp command is used to change the current group ID during a login session.

sg - execute command as different group ID
The sg command works similar to newgrp but accepts a command.