There are different rules for when you should or should not sign your child's passport, some of which depend on which country's passport your child holds.
Read more about signatures in passports for minor children carrying US & Canadian passports here > LINK HERE