OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • I turned the portal cautivo lost the password administrator
« previous next »
  • Print
Pages: [1]

Author Topic: I turned the portal cautivo lost the password administrator  (Read 6653 times)

the_wolf

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
I turned the portal cautivo lost the password administrator
« on: July 14, 2017, 04:24:05 pm »
how to reset the password ?
Logged

the_wolf

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
Re: I turned the portal cautivo lost the password administrator
« Reply #1 on: July 14, 2017, 07:37:23 pm »

I used this tutorial and it still doesn't reset.


http://srvfail.com/reset-freebsd-root-password/
Logged

the_wolf

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
Re: I turned the portal cautivo lost the password administrator
« Reply #2 on: July 14, 2017, 08:00:08 pm »
I got it from, just enter in single mode and mount with
mount-u /
and run su.
The screen appears to reset your password.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: I turned the portal cautivo lost the password administrator
« Reply #3 on: July 14, 2017, 08:31:31 pm »
Hi there,

The config.xml under /conf carries the password. The system will try to reset your attempts to get in on the next boot, because you are trying to control the FreeBSD system, not the OPNsense system.

If you hit CTRL+C during early boot you can get to the shell and use it to edit /conf/config.xml -- there is a <password> line in /usr/local/etc/config.xml that you can use to restore the old "opnsense" password, reboot cleanly and log in to change your password again to something that you will remember.

If you have secured console access, unlock the console from the GUI system administration settings to provide an easy failsafe to the system, where you can even reset the root password (option "3" or "4" I think).


Cheers,
Franco
Logged

the_wolf

  • Newbie
  • *
  • Posts: 26
  • Karma: 3
    • View Profile
Re: I turned the portal cautivo lost the password administrator
« Reply #4 on: July 14, 2017, 09:18:07 pm »
thank you franco
Logged

htunc

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: I turned the portal cautivo lost the password administrator
« Reply #5 on: November 26, 2017, 10:15:47 pm »
Hi,

I try command but,

mount -u /
mount -a
passwd

pam_chauthtok(): error in service module

not change password

Help me,
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • I turned the portal cautivo lost the password administrator
 

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