Locked out of admin
I changed the username in the admin profile on my mac and now I can't access admin on my mac. I can still use my computer as I had auto login configured earlier. Just can't access admin to change details etc. Any help?
iMac (21.5-inch, Late 2013)
2.7 GHz Intel Core i5
macOS High Sierra 10.13.3