I guess I would start looking in the source code for 'su'
I was reading about toor, baron, and avatar the other day, when I decided to replace root with avatar. Easy process, just made avatar with the uid 0, made the home directory, and then once I could log in as him, deleted root. Everything works fine for the most part (Auke Kok - lead developer of my distro - even made a change to one of the Lunar-Linux core tools so that it would check for uid 0 instead of root), except su. I have to use su avatar, or su - avatar because su looks for root. But on BeOS and systems that don't have the superuser named root, su doesn't look for root. Is there a separate shadow code for these guys? Did developers hack it out or something? Or is there an option to be used with configure when compiling shadow? To summarize...I replaced root with avatar, and su still looks for root, how do I fix this?
I guess I would start looking in the source code for 'su'
That's the shadow source code, su and a few other things are built into it. But I didn't find anything that was really a red flag distinguishing root from anything else.

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
Western Digital WD Blue 1TB SATA 3.5in 7200RPM 64MB Internal HDD WD10EZEX
$14.99
HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s
$78.00
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99
Western Digital 2TB WD20EFRX-68EUZN0 3.5" SATA Red NAS Hard Disk Drive
$69.99