Can't login in Foris after password change (but Luci and ssh are ok)


After changing my root password in Foris gui, I can’t login anymore (no webserver error, just a “invalid password”).

Is it possible that some characters in my new password are not recognized by Foris ?

I can login without problem with the new password in the LuCi gui or by ssh.

Is it safe to revert the password in ssh with either ‘uci delete foris.auth’ and ‘uci commit’ or the usual passwd command ?

The router is working fine but I am afraid of being locked out.

Thank you in advance for any tip and best regards
(and sorry if my problem has already posted/solved)

Where you change PSW ?

Poznámka 2020-03-22 123920 B

  1. Reboot ?
    2 Try old psw …

Hi Jarda,

Thank you very much for your suggestions.

Unfortunately, I can’t remember.

Same thing after a reboot, can’t login in Forris.

But I still can threw ssh or LuCi.

Changing the password in LuCi doesn’t work:

My new password was generated with a tool, and it has some very special signs. I guess this is the problem.

Would it be safe to change the password in a ssh-session with the plain old ‘passwd’ command ?

Or ‘uci delete foris.auth’ (as suggested over a serial console) ?