Reset the only admin password

I've tried Googling it but to no avail. All solutions seems to require the ability to log as an admin user to the GUI, or knowing the old password. SMTP is not available.

Is there a way to reset it from the command line?

Yours,

Per.