lost user password, disabled root login. no sudo access
On ubuntu 14.04 with an admin user created.
I have created a key for ssh and can login with my user without a password prompt.
However i lost the password, and also hardened the root user login.
When i reset root password from the web panel, i am able to login, and prompted with to create mandatory new password. I do that and am immedidatly looged out and a new login propmt appears. When i enter my new password for root,i am responded with “login incorrect”.