Blog post: When su replaced login for becoming another Unix login https://utcc.utoronto.ca/~cks/space/blog/unix/SuAsLoginReplacement
tl;dr: System III, and then this was half-adopted by 4.3 BSD. But in the process I learned that up through V6, su only let you become the superuser. Only in V7 did su let you become any UID.
Sparked by @simontatham 's https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/tron-legacy/