I installed server and fiddling around settings and I unchecked administer this account and the server crashed immediately.
Now I am listed as standard user and cannot perform any changes:
$ dscl . -read /groups/admin GroupMembership
GroupMembership: root
I thought there will be atleast 1 user to administer the whole computer excluding root :(. How can I get back. Quite panicked as I might loose everything.