Babies with mothers last name then fathers

What if the child has the mother last name and then the fathers? does this mean she could get all rights to the child?