There are two scenarios that will start after bash starts:
Depending on how you run the command newgrp, one of them will be executed:
, , script newgrp switch
newgrp - ... .bashrc
newgrp ... .bash_profile
.
, , .
BTW.: if .bash_profile bash .profile. , .bashrc .
, , , . $GROUPS , , :
[ "$GROUPS" = "200" ] || newgrp your_group
- .