18.7: password not acepted any more after update

Started by Tubs, July 31, 2018, 10:05:20 PM

Previous topic - Next topic
Thanks Franco.  That helps and I am able to login to the system now.


I am Facing almost the same but on a different way.
on a VM after i updated to the 18.7 the web gui is not availble , i can access using ssh but no gui.
is there a way to rebuild this ?
DEC4240 – OPNsense Owner

Hi

I have the same problem here. As I use an appliance it is a bit difficult to access it. I can access via SSH but cannot login.

Would you mind giving a step-by-step instruction how I can recover my password? "opnsense" as password for installer does not work when accessing by SSH.

I am a bit stuck here.

I did not read this in the readme, which would have made me more careful when upgrading.

So to be more specific:
I have more or less all of the problems above:

Login with username and password via GUI and SSH worked well.

After upgrade: Nada.

Not with root, admin, installer, tried all the passwords (including my previous set ones).

I am a little bit... Well, in a bad mood. As I use a nice dedicated applicance it is pretty difficult to access it otherwise than via net. so please help.

August 08, 2018, 12:18:27 AM #34 Last Edit: August 08, 2018, 01:18:14 AM by anon000
For anyone who is still having issues and not super familiar with how to get into installer mode ( like me ) here are some steps that worked for me.

1) load image 18.7 onto usb drive or bootable dvd
2) Once booted into the live image let it continue until you are prompted for a login
3) To get into installer mode type "installer" as the user name without quotes and "opnsense" as the password
4) Once in installer mode choose the "reset password" option which IIRC is option 3 and reboot. You should now be able to log into the gui.

Please correct me if I'm wrong here but this solved my issue which I believe had something to do with OTP which I setup and have not used in awhile. Also make sure to choose a shell for your user in system>access>users if you are wanting to ssh into the firewall. Just thought I would post to help someone because some of the answers here are a little cryptic and probably targeted to people who are more familiar with the install procedure.

August 08, 2018, 01:18:36 AM #35 Last Edit: August 08, 2018, 01:20:18 AM by Evil_Sense
For everyone who is not able to login:

Quote from: franco on August 01, 2018, 09:27:29 AM
Use a 18.7 image to boot the live mode, start installer, select "reset password" in main menu. Reboot without install, remove image and you can log in. Don't forget to set your correct authentication methods in System: Settings: Administration: Authentication Server.


Cheers,
Franco


For ssh access, look there:

Quote from: franco on August 03, 2018, 04:05:18 PM
System: Settings: Administration: "Login Group" and System: Access: Users: "your user": Login shell


Cheers,
Franco

@anon000 seems we had the same idea :D

Oops sorry about that  ;) The "installer" mode was kinda confusing if you dont read the console output which I missed the first couple times. 

Hi

for everyone who has made a backup (i thought I posted this yesterday, but I cannot find my post here) there might be another solution:

Open you Backup.xml file. Search for "Admin user (root). There is the OTP seed listed as clear text. Enter this value into google authenticator. Then login in the gui with <authenticatorcode><yourpassword> and it should work.

I was a bit confused as I usually have set <password><onetimecode> and not the other way around. But that worked for me and makes sense when you are not able to easily access the console (like ourselves with the deciso appliances).

Hope that helps somebody.