German Shepherd Training Tips

How I can not train a German shepherd running after people and they bark?
It is not an aggressive dog, just like 'say' the town where the borders of their home, but we're a little as if they do not hunt and bark at people. Advice, links or books on how to train it would be greatly appreciated.
First, always walk on a leash and not letting him get away without you or someone you trust, secondly, when you see people barking grab your mouth gently but firmly sit down and say shhh! as hard as you can, you will understand that you are the boss … get all your family to help, otherwise what you get when you do not bark can see, and then he does not think he likes it or deny it, just ask for the cooperation of your family …
Dog Training Tips : Easy-to-Train Dog Breeds