Assuming you mean a group shot of family members, then it usually would depend upon how many lines of people you have.
For a single line of people I would think the minimum would be f/8 maybe f/8½.
If two lines of people f/11 to f/11½
3 lines of people almost certainly f/16
I have a family shot I did last year with 4 lines of people using a 210mm f/5.6 lens. The front row of people were children, I exposed two sheets one at f/16 the other at f/22. The f/22 had the little people in the front and much lower than the adults in good focus and the back line (4 rows back) in good focus. The background was nicely out of focus for two reasons, careful focus and I was able to have the background stuff around 250m away. EDIT:- The f/22 version was the better of the two.
Back row was 8 people wide, to give you a sense of scale. The front row of people were about 8m from the front of the camera with that row being 7 little people wide.
If you have a 150mm lens, you could go with a slightly wider aperture, probably a ½ a stop difference all the way through as above; you would need to have the group closer to get the same background effect you are probably after.
As for background blowing out, not an issue as long as faces can be seen; I would think.
Mick.
EDITED, SEE ABOVE.