Forgot my user credentials in kali linux, no gui
I have forgotten my username and password for my remote-controlled Kali Linux machine. The system asks me to enter my credentials and I have no graphical user interface, only terminal. What should I do to reset my password and username?