OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • 18.7: password not acepted any more after update
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: 18.7: password not acepted any more after update  (Read 20244 times)

bigops

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 2
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #30 on: August 06, 2018, 05:09:41 pm »
Thanks Franco.  That helps and I am able to login to the system now.

Logged

Julien

  • Hero Member
  • *****
  • Posts: 666
  • Karma: 32
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #31 on: August 06, 2018, 11:15:34 pm »
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 ?
Logged
OPNsense 23.1.7_3-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

PotatoCarl

  • Full Member
  • ***
  • Posts: 128
  • Karma: 5
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #32 on: August 07, 2018, 06:53:52 pm »
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.
Logged

PotatoCarl

  • Full Member
  • ***
  • Posts: 128
  • Karma: 5
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #33 on: August 07, 2018, 06:59:41 pm »
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.
Logged

anon000

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #34 on: August 08, 2018, 12:18:27 am »
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.
« Last Edit: August 08, 2018, 01:18:14 am by anon000 »
Logged

Evil_Sense

  • Full Member
  • ***
  • Posts: 112
  • Karma: 15
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #35 on: August 08, 2018, 01:18:36 am »
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
« Last Edit: August 08, 2018, 01:20:18 am by Evil_Sense »
Logged

anon000

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #36 on: August 08, 2018, 01:54:39 am »
Oops sorry about that  ;) The "installer" mode was kinda confusing if you dont read the console output which I missed the first couple times. 
Logged

PotatoCarl

  • Full Member
  • ***
  • Posts: 128
  • Karma: 5
    • View Profile
Re: 18.7: password not acepted any more after update
« Reply #37 on: August 08, 2018, 10:13:09 am »
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.
Logged

  • Print
Pages: 1 2 [3]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • 18.7: password not acepted any more after update
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2