Accidentally build my entire server around the wrong account

This is the method which can be used on Linux: Linux Tips - #21 by ChuckPa

However, I don’t know the intricacies of TrueNAS. It might employ some kind of containerization which can make it hard to reach the preferences.xml file. And adds some complications to the subsequently needed re-claiming of the server.