Can I have different names on 2 different passports, or do my names have to exactly identical on each passport?

I am asking from a legal perspective.
Update: Presuming that I have 2 passports(2 citizenships), legally obtained.
5 answers 5