No Accounts to Log Into

I accidentally deleted my account on Zorin and I was wondering how I could make another one. I can’t log into another account, it’ll request my username and password and it doesn’t work. What would be the best course of action?

Get into CLI and type;

sudo adduser <username>
sudo usermod -aG <group> <username>

You can see which groups you want your user to be with;

cat /etc/group

A default would be: adm, cdrom, sudo, plugdev, lpadmin, sambashare,

When done, do;

sudo usermod -aG sudo <username>

EDIT: Wait, to do that requires you to log into some kind of account. Do you have seperated your /home partition? If so you could reinstall and keep your data.

Should be able to run the commands from the recovery menu, dropped to prompt.