OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: bebef on March 06, 2021, 11:10:39 AM

Title: Passwords not working any more
Post by: bebef on March 06, 2021, 11:10:39 AM
Hi everyone!

Out of a sudden, my OPNsense won't accept my password+TOTP for my user or the root password any longer. I have done nothing to cause this (except for updating OPNsense itself) and so I'm wondering how this could have happened.

I have checked the RTC, which still was correct, so at least this should be no issue regarding TOTP. However, as root without TOTP doesn't work either, I assume something underlying broke...?

Cheers
Title: Re: Passwords not working any more
Post by: franco on March 06, 2021, 08:09:50 PM
Hi there,

99,99% of the time passwords are wrong because they are. TOTP is especially deceiving. I suspect either the time of the system or the time of the OTP generator is wrong.


Cheers,
Franco
Title: Re: Passwords not working any more
Post by: bebef on March 07, 2021, 09:54:20 AM
Well, I guess I'm the 0.01% then. I have my passwords in a password manager and never changed them. TOTP also worked all the time for me. Only after "resetting" the passwords to their original values (via single user mode), the passwords would work again.

I had the suspicion that the disk might be the culprit. However, the disk looks okay (at least according to S.M.A.R.T.) and I can't find no other evidence of disk issues. I should have checked the passwd file before updating my passwords however.

Regardless, I find this quite suspicious somehow.

¯\_(ツ)_/¯