If people come crashing through the door uninvited, my shepherd would launch into them to. I used the generic word "dog" instead of the specific breed because most dogs are territorial and protective.
(that's one reason a lot of people have them)
You also named a breed and it was NOT pit-bull. Go back and read your post.